Copyright | (c) 2016 Michael Walker |
---|---|

License | MIT |

Maintainer | Michael Walker <mike@barrucadu.co.uk> |

Stability | stable |

Portability | portable |

Safe Haskell | None |

Language | Haskell2010 |

Quantity semaphores in which each thread may wait for an arbitrary "amount".

# General Quantity Semaphores

newQSemN :: MonadConc m => Int -> m (QSemN m) Source #

Build a new `QSemN`

with a supplied initial quantity.
The initial quantity must be at least 0.

*Since: 1.0.0.0*