[CMake] cmake on multicore interix'en

Markus Duft markus.duft at salomon.at
Thu Feb 18 02:29:26 EST 2010


Brad King wrote:
> 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.

great idea - i'll try that! Thanks! Hopefully it's not a problem with
the pipe itself. i already tried to manually call the signal handler
whenever i thought i detected a hang, but that didn't help... we'll see.

Cheers, Markus

> 
> -Brad



More information about the CMake mailing list