Modulebase-4.20.2.0Haskell2010
Control.Concurrent.QSem
Simple quantity semaphores.
- 1 type
- 3 values
- Packagebase-4.20.2.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceQSem.hs
Simple Quantity Semaphores
4 declarationsBuild a new QSem with a supplied initial quantity. The initial quantity must be at least 0.
Wait for a unit to become available.
Signal that a unit of the QSem is available.