Stability | experimental |
---|---|
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Safe Haskell | Trustworthy |
This is a wrapped version of Control.Concurrent.QSem with types
generalised from IO
to all monads in MonadBase
.
Documentation
data QSem
A QSem
is a simple quantity semaphore, in which the available
"quantity" is always dealt with in units of one.
signalQSem :: MonadBase IO m => QSem -> m ()Source
Generalized version of signalQSem
.