Moduleconcurrency-1.11.0.3Haskell2010
Control.Concurrent.Classy.QSemN
Quantity semaphores in which each thread may wait for an arbitrary "amount".
- 1 type
- 3 values
- Packageconcurrency-1.11.0.3
- Exports4
- LanguageHaskell2010
- LicenceMIT
- 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.