Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Semaphore effect, Internal.
Documentation
data Semaphore :: Effect where Source #
This effect abstracts over the concept of a quantity semaphore, a concurrency primitive that contains a number of slots that can be acquired and released.