Qtc.Core.QSemaphore

Contents

Documentation

class QqSemaphore x1 where #

Methods

qSemaphore :: x1 -> IO (QSemaphore ()) #

Instances
QqSemaphore Int # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

qSemaphore :: Int -> IO (QSemaphore ()) #

QqSemaphore () # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

qSemaphore :: () -> IO (QSemaphore ()) #

class QqSemaphore_nf x1 where #

Methods

qSemaphore_nf :: x1 -> IO (QSemaphore ()) #

Instances
QqSemaphore_nf Int # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

qSemaphore_nf :: Int -> IO (QSemaphore ()) #

QqSemaphore_nf () # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

qSemaphore_nf :: () -> IO (QSemaphore ()) #

available :: QSemaphore a -> () -> IO Int #

class QtryAcquire x1 where #

Methods

tryAcquire :: QSemaphore a -> x1 -> IO Bool #

Instances
QtryAcquire Int # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

tryAcquire :: QSemaphore a -> Int -> IO Bool #

QtryAcquire () # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

tryAcquire :: QSemaphore a -> () -> IO Bool #

QtryAcquire (Int, Int) # 
Instance details

Defined in Qtc.Core.QSemaphore

Methods

tryAcquire :: QSemaphore a -> (Int, Int) -> IO Bool #

Orphan instances

Qrelease (QSemaphore a) Int (IO ()) # 
Instance details

Methods

release :: QSemaphore a -> Int -> IO () #

Qrelease (QSemaphore a) () (IO ()) # 
Instance details

Methods

release :: QSemaphore a -> () -> IO () #

Qacquire (QSemaphore a) Int (IO ()) # 
Instance details

Methods

acquire :: QSemaphore a -> Int -> IO () #

Qacquire (QSemaphore a) () (IO ()) # 
Instance details

Methods

acquire :: QSemaphore a -> () -> IO () #