-) Don't use pthread_kill, abolish the pending_handler_buf and use a pipe to send the information from the signal handelr to the scheduler loop.
Can we assume that signal values fit into a single byte?
That would simplify sending it over the pipe, as we wouldn't need to worry about read() or write() getting interrupted by other signals and things like that. Did I overlook some guarantee that signal numbers will be "small integers" or something like that, or are there in fact systems with signal numbers > 255?
Cheers,
Wolfgang
_______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
