Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
releaseRead :: RWLock -> IO (Either RWLockException ())SafeSemaphore Control.Concurrent.FairRWLock A thread that calls acquireRead must later call releaseRead once for each call to acquireRead. If this thread has not previous called acquireRead then releaseRead will do nothing and return a (Left error). This can block but cannot be interrupted.
withRead :: RWLock -> IO a -> IO aSafeSemaphore Control.Concurrent.FairRWLock This is by far the preferred way to acquire a read lock. This uses bracket_ to ensure acquireRead and releaseRead are called correctly around the passed command. This ought to ensure releaseRead will not return a (Left error), but if it does then this error will be thrown. This can block and be safely interrupted.
-
This module exposes an interface with thread-safe writes and flips. Additionally, concurrently modifying non-intersecting slices of the same underlying array works as expected. However, operations that affect multiple elements are not guaranteed to be atomic. Consider using Data.Bit, which is faster (usually 10-20%, up to 50% for short vectors), but not thread-safe.
NameAlreadyOwner :: RequestNameReplydbus DBus.Client This client is already the primary owner of the requested name.
clientThreadID :: Client -> ThreadIddbus DBus.Client No documentation available.
clientThreadRunner :: ClientOptions t -> IO () -> IO ()dbus DBus.Client A function to run the client thread. The provided IO computation should be called repeatedly; each time it is called, it will process one incoming message. The provided computation will throw a ClientError if it fails to process an incoming message, or if the connection is lost. The default implementation is forever.
propertyRead :: Property -> Booldbus DBus.Introspection.Types No documentation available.
accessRead :: Access (f :: Type -> Type) -> f Booldhall Dhall.DirectoryTree No documentation available.
ThreadKilled :: AsyncExceptioneffectful-core Effectful.Exception This exception is raised by another thread calling killThread, or by the system if it needs to terminate the thread for some reason.
eqThreadId :: ThreadId -> ThreadId -> Booleffectful-core Effectful.Internal.Utils No documentation available.