9 Jul
2006
9 Jul
'06
9:53 a.m.
* John Goerzen:
where childaction oldint oldquit oldset = do restoresignals oldint oldquit oldset executeFile program True args Nothing restoresignals oldint oldquit oldset = do installHandler sigINT oldint Nothing installHandler sigQUIT oldquit Nothing setSignalMask oldset
Does this work reliably with threading? Signal handlers are a process-global resource. Or is installHandler performing some magic to make signal handlers thread-specific?