Qtc.Core.QReadWriteLock

Contents

Documentation

class QqReadWriteLock x1 where #

Methods

qReadWriteLock :: x1 -> IO (QReadWriteLock ()) #

lockForRead :: QReadWriteLock a -> () -> IO () #

lockForWrite :: QReadWriteLock a -> () -> IO () #

class QtryLockForRead x1 where #

Methods

tryLockForRead :: QReadWriteLock a -> x1 -> IO Bool #

Instances
QtryLockForRead Int # 
Instance details

Defined in Qtc.Core.QReadWriteLock

Methods

tryLockForRead :: QReadWriteLock a -> Int -> IO Bool #

QtryLockForRead () # 
Instance details

Defined in Qtc.Core.QReadWriteLock

Methods

tryLockForRead :: QReadWriteLock a -> () -> IO Bool #

class QtryLockForWrite x1 where #

Methods

tryLockForWrite :: QReadWriteLock a -> x1 -> IO Bool #

Instances
QtryLockForWrite Int # 
Instance details

Defined in Qtc.Core.QReadWriteLock

Methods

tryLockForWrite :: QReadWriteLock a -> Int -> IO Bool #

QtryLockForWrite () # 
Instance details

Defined in Qtc.Core.QReadWriteLock

Methods

tryLockForWrite :: QReadWriteLock a -> () -> IO Bool #

Orphan instances

Qunlock (QReadWriteLock a) () (IO ()) # 
Instance details

Methods

unlock :: QReadWriteLock a -> () -> IO () #