Documentation
class QqSemaphore x1 where #
qSemaphore :: x1 -> IO (QSemaphore ()) #
Instances
QqSemaphore Int # | |
Defined in Qtc.Core.QSemaphore qSemaphore :: Int -> IO (QSemaphore ()) # | |
QqSemaphore () # | |
Defined in Qtc.Core.QSemaphore qSemaphore :: () -> IO (QSemaphore ()) # |
class QqSemaphore_nf x1 where #
qSemaphore_nf :: x1 -> IO (QSemaphore ()) #
Instances
QqSemaphore_nf Int # | |
Defined in Qtc.Core.QSemaphore qSemaphore_nf :: Int -> IO (QSemaphore ()) # | |
QqSemaphore_nf () # | |
Defined in Qtc.Core.QSemaphore qSemaphore_nf :: () -> IO (QSemaphore ()) # |
available :: QSemaphore a -> () -> IO Int #
class QtryAcquire x1 where #
tryAcquire :: QSemaphore a -> x1 -> IO Bool #
Instances
QtryAcquire Int # | |
Defined in Qtc.Core.QSemaphore tryAcquire :: QSemaphore a -> Int -> IO Bool # | |
QtryAcquire () # | |
Defined in Qtc.Core.QSemaphore tryAcquire :: QSemaphore a -> () -> IO Bool # | |
QtryAcquire (Int, Int) # | |
Defined in Qtc.Core.QSemaphore tryAcquire :: QSemaphore a -> (Int, Int) -> IO Bool # |
qSemaphore_delete :: QSemaphore a -> IO () #
Orphan instances
Qrelease (QSemaphore a) Int (IO ()) # | |
release :: QSemaphore a -> Int -> IO () # | |
Qrelease (QSemaphore a) () (IO ()) # | |
release :: QSemaphore a -> () -> IO () # | |
Qacquire (QSemaphore a) Int (IO ()) # | |
acquire :: QSemaphore a -> Int -> IO () # | |
Qacquire (QSemaphore a) () (IO ()) # | |
acquire :: QSemaphore a -> () -> IO () # |