[Haskell-beginners] forkIO and signal handlers
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.
> Unfortunately I don't think it covers catching signals. I hope this helps.
> 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
More information about the Beginners