block -package

block :: IO a -> IO a
base Control.Exception.Base, base Control.Exception, base Control.OldException
Note: this function is deprecated, please use mask instead. Applying block to a computation will execute that computation with asynchronous exceptions blocked. That is, any thread which attempts to raise an exception in the current thread with Control.Exception.throwTo will be blocked until asynchronous exceptions are unblocked again. There's no need to worry about re-enabling asynchronous exceptions; that is done automatically on exiting the scope of block. Threads created by Control.Concurrent.forkIO inherit the blocked state from the parent; that is, to start a thread in blocked mode, use block $ forkIO .... This is particularly useful if you need to establish an exception handler in the forked thread before any asynchronous exceptions are received.
blocked :: IO Bool
base Control.Exception.Base, base Control.Exception
returns True if asynchronous exceptions are blocked in the current thread.
blockquote :: Html -> Html
html Text.Html, xhtml Text.XHtml.Strict, xhtml Text.XHtml.Frameset, xhtml Text.XHtml.Transitional
blockSignals :: SignalSet -> IO ()
unix System.Posix.Signals
blockSignals mask calls sigprocmask with SIG_BLOCK to add all interrupts in mask to the set of blocked interrupts.
blockSpecialMode :: FileMode
unix System.Posix.Files.ByteString, unix System.Posix.Files
BlockBuffering :: (Maybe Int) -> BufferMode
base System.IO, base GHC.IO.Handle
block-buffering should be enabled if possible. The size of the buffer is n items if the argument is Just n and is otherwise implementation-dependent.
BlockedIndefinitely :: Exception
base Control.OldException
The current thread was waiting to retry an atomic memory transaction that could never become possible to complete because there are no other threads referring to any of the TVars involved.
BlockedIndefinitelyOnMVar :: BlockedIndefinitelyOnMVar
base Control.Exception.Base, base Control.Exception
data BlockedIndefinitelyOnMVar
base Control.Exception.Base, base Control.Exception
The thread is blocked on an MVar, but there are no other references to the MVar so it can't ever continue.
BlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM
base Control.Exception.Base, base Control.Exception
data BlockedIndefinitelyOnSTM
base Control.Exception.Base, base Control.Exception
The thread is waiting to retry an STM transaction, but there are no other references to any TVars involved, so it can't ever continue.
BlockedOnDeadMVar :: Exception
base Control.OldException
The current thread was executing a call to Control.Concurrent.MVar.takeMVar that could never return, because there are no other references to this MVar.
bLOCK_SIZE :: Int
base GHC.Constants
bLOCK_SIZE_W :: Int
base GHC.Constants
BlockedOnBlackHole :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
blocked on a computation in progress by another thread
BlockedOnException :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
blocked in throwTo
BlockedOnForeignCall :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
currently in a foreign call
BlockedOnMVar :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
blocked on on MVar
BlockedOnOther :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
blocked on some other resource. Without -threaded, I/O and threadDelay show up as BlockedOnOther, with -threaded they show up as BlockedOnMVar.
BlockedOnSTM :: BlockReason
base GHC.Conc.Sync, base GHC.Conc
blocked in retry in an STM transaction

Show more results