[Xmonad] darcs patch: zombie_children
David Benbennick
dbenbenn at gmail.com
Wed Oct 24 21:20:15 EDT 2007
Wed Oct 24 18:10:16 PDT 2007 David Benbennick <dbenbenn at gmail.com>
* zombie_children
Second version. This patch sets SIGCHLD to SIG_IGN, so that any child
processes that end will be immediately cleaned up. It also waits on
all existing zombie child processes, in case they already exist.
I'm not too happy about waitAllChildren; it doesn't seem very Haskelley.
I was surprised that the following didn't work:
try $ forever_ $ getAnyProcessStatus False False >>= return . fromJust
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 3753 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20071024/78208e17/attachment.bin
More information about the Xmonad
mailing list