[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threads




> Oh you also mentioned complete lack of Win32 compatibility, this is true.
> However a quick #ifdef WIN32 would fix that, an equivalent loop exists in
> Windows, waiting for WM_QUIT instead of SIQQUIT, and using GetMessage() to
> block instead of sigwait(). Ugh.

Instead of SIGQUIT, even :) damn letters look too close. I think for now
I'll assume funky main thread blocking signals trick is okay, and just
spawn four worker threads. Can stick a label on the box, "quad system
recommended", and to hell with cpu detection :)

Michael