[GHC] #7216: Compositional blocking on file descriptors
GHC
cvs-ghc at haskell.org
Wed Oct 17 17:10:36 CEST 2012
#7216: Compositional blocking on file descriptors
---------------------------------+------------------------------------------
Reporter: AndreasVoellmy | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 7.8.1
Component: libraries/base | Version: 7.4.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by AndreasVoellmy):
The last patch addresses the previous comment by igloo. I made the
threadWaitSTM return an IO action that unregisters interest in the file
descriptor. By returning an `IO ()` value we avoid having to export the
`FdKey` type and `unregsterFd` functions.
I also added some haddock comments to `threadWaitReadSTM` and
`threadWaitWriteSTM`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7216#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list