Expand description
This module contains an implementation of the MVar synchronization primitive.
Structsยง
- MVar
- An MVar is a primitive that combines synchronization and the exchange
of a value. Its semantics are analogous to a synchronous channel of
size 1: if the MVar is full, then
putblocks until it is emptied; if the MVar is empty, thentakeblocks until it is filled.