Skip to content

Allow KWSYSPE_USE_SELECT macro to be overriden at compile time.

Some systems / tools don't play nicely with how select is used here.

I think the overall issue with how select is used here is discussed in detail here: https://cmake.org/Bug/view.php?id=15873 (see also cmake/cmake#15873).

The way I ran across this was running threadsanitizer on an otherwise non related topic (debugger) for cmake. As far as I can tell, threadsanitizer will lock up on most systems that go through the select code path.

With this modification, and the additional compile flag of -DKWSYSPE_USE_SELECT=0, the lockup no longer happens.

Edited by Ben Boeckel

Merge request reports

Loading