[GHC] #9321: Support for waiting on multiple MVars
GHC
ghc-devs at haskell.org
Thu Jul 17 04:16:27 UTC 2014
#9321: Support for waiting on multiple MVars
-------------------------------------+-------------------------------------
Reporter: schyler | Owner: simonmar
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.8.3
Component: Runtime | Keywords: mvar
System | Operating System: Unknown/Multiple
Resolution: | Type of failure: None/Unknown
Differential Revisions: | Test Case:
Architecture: | Blocking:
Unknown/Multiple |
Difficulty: Unknown |
Blocked By: |
Related Tickets: |
-------------------------------------+-------------------------------------
Comment (by carter):
likewise, it seems like the async package provides a version of this
https://hackage.haskell.org/package/async-2.0.1.5/docs/Control-Concurrent-
Async.html#g:6
waitEither :: Async a -> Async b -> IO (Either a b)
among others.
do you have a specific test case where the mvar or async approaches are
too slow?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9321#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list