Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Control.Concurrent.
ReadWriteLock Multiple-reader, single-writer locks. Used to protect shared resources which may be concurrently read, but only sequentially written. All functions are exception safe. Throwing asynchronous exceptions will not compromise the internal state of an RWLock. This means it is perfectly safe to kill a thread that is blocking on, for example, acquireRead. See also Java's version: http://java.sun.com/javase/7/docs/api/java/util/concurrent/locks/ReadWriteLock.html This module is designed to be imported qualified. We suggest importing it like:
import Control.Concurrent.ReadWriteLock ( RWLock ) import qualified Control.Concurrent.ReadWriteLock as RWL ( ... )
module Control.Concurrent.
ReadWriteVar Concurrent read, sequential write variables. Comparable to an IORef with more advanced synchronization mechanisms. The value stored inside the RWVar can be read and used by multiple threads at the same time. Concurrent computations inside a with "block" observe the same value. Observing and changing the contents of an RWVar are mutually exclusive. The with function will block if modify is active and vice-versa. Furthermore with is fully sequential and will also block on concurrent calls of modify. The following are guaranteed deadlocks:
modify_ v $ const $ with v $ const undefined
with v $ const $ modify_ v $ const undefined
modify_ v $ const $ modify_ v $ const undefined
import Control.Concurrent.ReadWriteVar ( RWVar ) import qualified Control.Concurrent.ReadWriteVar as RWV ( ... )
ReadFailure :: Text -> Consistency -> Int32 -> Int32 -> Int32 -> Bool -> Errorcql Database.CQL.Protocol No documentation available.
ReadTimeout :: Text -> Consistency -> Int32 -> Int32 -> Bool -> Errorcql Database.CQL.Protocol No documentation available.
-
cql Database.CQL.Protocol The server is ready to process queries. Response of a Startup request.
-
cql Database.CQL.Protocol No documentation available.
ReadFailure :: Text -> Consistency -> Int32 -> Int32 -> Int32 -> Bool -> Errorcql Database.CQL.Protocol.Internal No documentation available.
ReadTimeout :: Text -> Consistency -> Int32 -> Int32 -> Bool -> Errorcql Database.CQL.Protocol.Internal No documentation available.
-
cql Database.CQL.Protocol.Internal The server is ready to process queries. Response of a Startup request.
-
cql Database.CQL.Protocol.Internal No documentation available.