Modulebase-4.20.2.0Haskell2010
Control.Concurrent.QSemN
Quantity semaphores in which each thread may wait for an arbitrary "amount".
- 1 type
- 3 values
- Packagebase-4.20.2.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceQSemN.hs
General Quantity Semaphores
4 declarationsBuild a new QSemN with a supplied initial quantity. The initial quantity must be at least 0.
Wait for the specified quantity to become available.
Signal that a given quantity is now available from the QSemN.