Stability | experimental |
---|---|
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Safe Haskell | Trustworthy |
This is a wrapped version of Control.Concurrent.QSemN with types
generalised from IO
to all monads in MonadBase
.
Documentation
data QSemN
A QSemN
is a quantity semaphore, in which the available
"quantity" may be signalled or waited for in arbitrary amounts.
signalQSemN :: MonadBase IO m => QSemN -> Int -> m ()Source
Generalized version of signalQSemN
.