[Haskell-cafe] forkProcess, forkIO, and multithreaded runtime
Kazu Yamamoto ( 山本和彦 )
kazu at iij.ad.jp
Mon Oct 15 11:23:18 CEST 2012
Michael,
> Having looked through the code for the process package a bit, my
> initial guess is that this is being caused by a signal being sent to the child
> process, but I'm not familiar enough with the inner workings to confirm or
> disprove this guess.
To remove that comment for finally, you need the following:
_ <- installHandler sigCHLD Ignore Nothing
Put this line into the beginning of the main. And import necessary
things from System.Posix.Signals.
--Kazu
More information about the Haskell-Cafe
mailing list