[Haskell-cafe] pthread_kill missing?

Gabor Greif gabor at mac.com
Wed Nov 18 18:12:11 EST 2009

Am 18.11.2009 um 14:15 schrieb Svein Ove Aas:

> On Wed, Nov 18, 2009 at 2:03 PM, Gabor Greif <gabor at mac.com> 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  
in Haskell.

How much work would it be to add the pthread signal blocking/sending
facility to the unix library?



> -- 
> Svein Ove Aas
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list