|  | 
| | Control.Concurrent.QSem | | Portability | non-portable (concurrency) |  | Stability | experimental |  | Maintainer | libraries@haskell.org | 
 | 
 | 
|  | 
|  | 
|  | 
| Description | 
| Simple quantity semaphores. | 
|  | 
| Synopsis | 
|  | 
|  | 
|  | 
|  | 
| Simple Quantity Semaphores | 
|  | 
|  | 
| | A QSem is a simple quantity semaphore, in which the available
 "quantity" is always dealt with in units of one. |  |  Instances |  |  | 
 | 
|  | 
|  | 
| Build 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 | 
|  | 
| Produced by Haddock version 2.6.0 |