Portability | non-portable (requires Futures) |
---|---|
Stability | experimental |
Maintainer | willig@ki.informatik.uni-frankfurt.de |
This module implements a quantity semaphore using buffers that block on futures.
A QSem equals to QSemN in Control.Concurrent. A Buffer equals to QSem in Control.Concurrent.
Warning: All operations on quantity semaphores should only be used within the
global wrapper function Futures.withFuturesDo
!