Ticket #3980 (new feature request)
System.Posix.Signals should provide a way to set the SA_NOCLDWAIT flag
|Reported by:||Liskni_si||Owned by:|
|Type of failure:||Other||Difficulty:|
|Test Case:||Blocked By:|
Since FreeBSD and OpenBSD don't conform to POSIX.1-2001 regarding the creation of zombie processes, “installHandler sigCHLD Ignore Nothing” just isn't enough to stop zombies from piling up. They do, however, support the SA_NOCLDWAIT flag to sigaction, and an interface for it would be useful to have.
The motivation is this: http://thread.gmane.org/gmane.comp.lang.haskell.xmonad/9780 More info: http://en.wikipedia.org/wiki/SIGCHLD