Re: [CMake] cmake on multicore interix'en

2010-02-18 Thread Markus Duft
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. ok - this was a dead end - not a single si

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Markus Duft
Ryan Pavlik wrote: > Are you effectively just using the SUA component that is included with > Windows? If so, that's not too hard for someone who is already testing > Windows to start testing on. yeah - i'm using the SUA component, and on top of that i am building gentoo prefix [1], which i use t

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Markus Duft
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 sele

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Ryan Pavlik
Are you effectively just using the SUA component that is included with Windows? If so, that's not too hard for someone who is already testing Windows to start testing on. On a semi-related note: have you considered using MSYS? I've used it to build auto*-based Win32 applications, and while W

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Brad King
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 alr

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Markus Duft
Brad King wrote: > Markus Duft wrote: >> cmakes implementation of how child processes are handled doesn't work >> reliably on multicore interix. it seems that every other SIGCHLD is lost > > Is this a known problem on that platform, independent of CMake? it is independant of cmake, yes. it is not

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Brad King
Markus Duft wrote: > cmakes implementation of how child processes are handled doesn't work > reliably on multicore interix. it seems that every other SIGCHLD is lost Is this a known problem on that platform, independent of CMake? The ProcessUNIX.c implementation is for POSIX platforms, which clea

Re: [CMake] cmake on multicore interix'en

2010-02-17 Thread Markus Duft
Markus Duft wrote: > Hi all! > [snip] > > i thought of introducing some lame timeout when select()ing the signal > pipe, then checking whether the process is still alive (wait()), and > again selecting if it is. what do you think? answering my own mail, i came up with a patch in the meantime, wh

[CMake] cmake on multicore interix'en

2010-02-17 Thread Markus Duft
Hi all! I'm porting cmake to interix for use in my company. It seems to work quite well on single core machines. however, when it comes to multicore, interix has several severe bugs. fixing those may (better: _will_) take a lot of time. in the meantime i'm trying to hack around things. i'm curren