An MVar (pronounced "em-var") is a synchronising variable, used for communication between concurrent threads. It can be thought of as a box, which may be empty or full.
Moduleunliftio-0.2.25.1Haskell2010
UnliftIO.MVar
Unlifted Control.Concurrent.MVar.
Synopsis
- data MVar
- value newEmptyMVar
- value newMVar
- value takeMVar
- value putMVar
- value readMVar
- value swapMVar
- value tryTakeMVar
- value tryPutMVar
- value isEmptyMVar
- value withMVar
- value withMVarMasked
- value modifyMVar
- value modifyMVar_
- value modifyMVarMasked
- value modifyMVarMasked_
- value tryReadMVar
- value mkWeakMVar
- Packageunliftio-0.2.25.1
- Exports18
- LanguageHaskell2010
- LicenceMIT
- SourceMVar.hs
Lifted newEmptyMVar.
Lifted newMVar.
Lifted takeMVar.
Lifted putMVar.
Lifted readMVar.
Lifted swapMVar.
Lifted tryTakeMVar.
Lifted tryPutMVar.
Lifted isEmptyMVar.
Unlifted withMVar.
Unlifted withMVarMasked.
Unlifted modifyMVar.
Unlifted modifyMVar_.
Unlifted modifyMVarMasked.
Unlifted modifyMVarMasked_.
Lifted tryReadMVar.
Unlifted mkWeakMVar.