Ticket #3980 (new feature request)
System.Posix.Signals should provide a way to set the SA_NOCLDWAIT flag
| Reported by: | Liskni_si | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 7.6.2 |
| Component: | libraries/unix | Version: | 6.12.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Other | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
