cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Compat.Semaphore

Synopsis

Documentation

data QSem Source #

QSem is a quantity semaphore in which the resource is acquired and released in units of one. It provides guaranteed FIFO ordering for satisfying blocked waitQSem calls.

Instances

Instances details
Eq QSem Source # 
Instance details

Defined in Distribution.Client.Compat.Semaphore

Methods

(==) :: QSem -> QSem -> Bool #

(/=) :: QSem -> QSem -> Bool #