[GHC] #5946: getAnyProcessStatus signals an exception
GHC
cvs-ghc at haskell.org
Tue Mar 20 13:00:40 CET 2012
#5946: getAnyProcessStatus signals an exception
-------------------------------+--------------------------------------------
Reporter: toc | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/unix | Version: 7.0.4
Keywords: | Os: Unknown/Multiple
Architecture: x86_64 (amd64) | Failure: Runtime crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Changes (by simonmar):
* difficulty: => Unknown
Comment:
`Nothing` means "there are children but none of them have completed" (i.e.
`waitpid()` returned 0), whereas the exception corresponds to `waitpid()`
returning -1 and `ECHILD`. So the behaviour closely models `waitpid()`.
I think we should fix the docs.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5946#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list