|
Control.Concurrent.QSemN | Portability | non-portable (concurrency) | Stability | experimental | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
Quantity semaphores in which each thread may wait for an arbitrary
"amount".
|
|
Synopsis |
|
|
|
|
General Quantity Semaphores
|
|
|
A QSemN is a quantity semaphore, in which the available
"quantity" may be signalled or waited for in arbitrary amounts.
| Instances | |
|
|
|
Build 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.
|
|
Produced by Haddock version 2.6.0 |