[project @ 2004-10-02 07:32:25 by dons]
authordons <unknown>
Sat, 2 Oct 2004 07:32:29 +0000 (07:32 +0000)
committerdons <unknown>
Sat, 2 Oct 2004 07:32:29 +0000 (07:32 +0000)
commit20d697a1c300663df2c1472e222e57c84c4385fc
tree9b708f9bbc0e94083bc14de8e19b68b07f96bab4
parent1749c26268dc04363409d996d3836db0ce74f438
[project @ 2004-10-02 07:32:25 by dons]
When linking against libpthreads, raise(3) can behave strangely on
some platforms (OpenBSD at least, maybe other BSDs, not Linux). So use
pthread_kill() to generate signals when running the threaded rts,
instead of raise(), when System.Posix.Signals.raiseSignal is called.

raiseSignal will call genericRaise, in the rts, which knows which
function to use.
ghc/rts/Linker.c
ghc/rts/RtsUtils.c
ghc/rts/RtsUtils.h