[Haskell-beginners] forkIO and signal handlers

Michael Litchard michael at schmong.org
Fri Sep 9 21:35:56 CEST 2011

Thanks for the reply. The problem isn't signal handling, nor is it
using forkIO. It's using both of them together.

On Fri, Sep 9, 2011 at 12:14 PM, Tim Perry
<tim.perry at lifetime.oregonstate.edu> wrote:
> There is an example of forking processes in the "Real World Haskell" book in
> chapter 20 - Systems Programming.
> http://book.realworldhaskell.org/read/systems-programming-in-haskell.html
> Unfortunately I don't think it covers catching signals. I hope this helps.
> Tim
> ________________________________
> From: Michael Litchard <michael at schmong.org>
> To: beginners at haskell.org
> Sent: Friday, September 9, 2011 12:06 PM
> Subject: [Haskell-beginners] forkIO and signal handlers
> I am trying to use installHandler with forkIO.
> I'd like to fork a process in Main when a signal is caught, having
> trouble with the types and I'm sure there is a convention I'm not
> familiar with.
> Could I see an example of how this is done?
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list