Copyright | (c) The University of Glasgow 2001 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | non-portable (concurrency) |
Safe Haskell | Safe |
Language | Haskell2010 |
Quantity semaphores in which each thread may wait for an arbitrary "amount".
General Quantity Semaphores
Build a new QSemN
with a supplied initial quantity.
The initial quantity must be at least 0.