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.
tryWithRead :: RWLock -> IO a -> IO (Maybe a)concurrent-extra Control.Concurrent.ReadWriteLock A non-blocking withRead. First tries to acquire the lock. If that fails, Nothing is returned. If it succeeds, the computation is performed. When the computation terminates, whether normally or by raising an exception, the lock is released and Just the result of the computation is returned.
-
concurrent-extra Control.Concurrent.ReadWriteLock - When the state is "write", waitRead blocks until a call to releaseWrite in another thread changes the state to "free".
- When the state is "free" or "read" waitRead returns immediately.
waitRead l = mask_ $ acquireRead l >> releaseRead l
withRead :: RWLock -> IO a -> IO aconcurrent-extra Control.Concurrent.ReadWriteLock A convenience function wich first acquires read access and then performs the computation. When the computation terminates, whether normally or by raising an exception, the read lock is released.
outputThreads :: OutputHandle -> TMVar Integerconcurrent-output System.Console.Concurrent.Internal No documentation available.
-
concurrent-output System.Console.Concurrent.Internal No documentation available.
unregisterOutputThread :: IO ()concurrent-output System.Console.Concurrent.Internal No documentation available.
AlreadyExists :: Text -> Keyspace -> Table -> Errorcql Database.CQL.Protocol No documentation available.
-
cql Database.CQL.Protocol No documentation available.
RsReady :: Maybe UUID -> [Text] -> Ready -> Response k a bcql Database.CQL.Protocol No documentation available.
AlreadyExists :: Text -> Keyspace -> Table -> Errorcql Database.CQL.Protocol.Internal No documentation available.