Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Synchronization primitives
- type MACMVar l a = Res l (MVar a)
- newMACMVar :: Less l l' => a -> MAC l (MACMVar l' a)
- newMACEmptyMVar :: Less l l' => MAC l (MACMVar l' a)
- takeMACMVar :: Less l l => MACMVar l a -> MAC l a
- putMACMVar :: Less l l => MACMVar l a -> a -> MAC l ()