[Haskell-cafe] pthread_kill missing?

Gabor Greif gabor at mac.com
Wed Nov 18 08:03:59 EST 2009

Hi all,

I'd like to send a signal from the main thread to a forkOS-ed thread in
GHC. The former should use raiseSignal and the second should sit in

I figured that the posix functionality in the unix-2.3 library does not
cover this case.

I would have expected that blocking/sending/receiving signals would
utilize the pthread_* routines. This does not seem to be the case.

Any idea when these will be available?

Thanks in advance,



PS: I guess some of you will say, "use condition variables".
But that won't answer my question :-)

More information about the Haskell-Cafe mailing list