[CMake] cmake on multicore interix'en

Brad King brad.king at kitware.com
Wed Feb 17 11:42:41 EST 2010


Markus Duft wrote:
> Brad King wrote:
>> Can you print out the state of signal masks?
> 
> how can i do that? i'm not really into that topic that much :) but i'll
> read some man pages to figure it out.

Look at "sigprocmask" docs.

> it seems that i'm not hit by the select problem, as there is already a
> "select has lied" path somewhere in that code path that catches exactly
> my select() problem.

Actually, if the select() path works other than the signal pipe
you can probably get away with a minimal hack for this platform.
Set a SIGALRM handler that wakes up every few milliseconds and
writes to the signal pipes just like the SIGCHLD handler does.
This code can be kept separate from the main select loop and
activated only for this platform.

-Brad


More information about the CMake mailing list