
Am 18.11.2009 um 14:15 schrieb Svein Ove Aas:
On Wed, Nov 18, 2009 at 2:03 PM, Gabor Greif
wrote: PS: I guess some of you will say, "use condition variables". But that won't answer my question :-)
Actually, I was going to say "use throwTo".
Is there som reason you have to use the POSIX routines directly instead of using native haskell exceptions?
Because I'd like to eventually send signals from outside (e.g. a shell) too. This is in fact a stripped-down version of a real program written in C mainly to demonstrate how much easier it is to get the same functionality in Haskell. How much work would it be to add the pthread signal blocking/sending facility to the unix library? Cheers, Gabor
-- Svein Ove Aas _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe