#3161: non-blocking read operations in Chan, Sem, QSem, SampleVar
-----------------------------+----------------------------------------------
Reporter: ChrisKuklewicz | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.10.2 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
The non-blocking "tryTakeMVar" makes MVars useful in solving more
problems.
The lack of a non-blocking wait/read/take in QSem(N)/Chan/SampleVar means
that some problems have to be solved by re-implementing these modules.
This "feature request" is for such an operation to be added to these
modules.
Hmm...I may have a crack at this myself. (see also #3159 and #3160)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3161>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs