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.
tryReadQueueWithoutMask :: Queue a -> IO (Maybe a)kazura-queue Control.Concurrent.KazuraQueue Non-masked version of tryReadQueue. It is not safe for asynchronous exception.
tryReadFreshWCached :: WCached a -> IO (Bool, WTicket a)kazura-queue Control.Concurrent.WVar Non-blocking version of readFreshWCached
tryReadFreshWVar :: WVar a -> IO (Bool, a)kazura-queue Control.Concurrent.WVar Non-blocking version of readFreshWVar
-
ki-unlifted Ki.Unlifted Bound to an OS thread.
-
ki-unlifted Ki.Unlifted A thread.
👉 Details
- A thread's lifetime is delimited by the scope in which it was created.
- The thread that creates a scope is considered the parent of all threads created within it.
- If an exception is raised in a child thread, the child either propagates the exception to its parent (see fork), or returns the exception as a value (see forkTry).
- All threads created within a scope are terminated when the scope closes.
-
ki-unlifted Ki.Unlifted What, if anything, a thread is bound to.
-
ki-unlifted Ki.Unlifted - affinity The affinity of a thread. A thread can be unbound, bound to a specific capability, or bound to a specific OS thread.Default: Unbound
- allocationLimit The maximum number of bytes a thread may allocate before it is delivered an AllocationLimitExceeded exception. If caught, the thread is allowed to allocate an additional 100kb (tunable with +RTS -xq) to perform any necessary cleanup actions; if exceeded, the thread is delivered another.Default: Nothing (no limit)
- label The label of a thread, visible in the event log (+RTS -l).Default: "" (no label)
- maskingState The masking state a thread is created in. To unmask, use unsafeUnmask.Default: Unmasked
ThreadOptions :: ThreadAffinity -> Maybe ByteCount -> String -> MaskingState -> ThreadOptionski-unlifted Ki.Unlifted No documentation available.
defaultThreadOptions :: ThreadOptionski-unlifted Ki.Unlifted Default thread options.
ThreadOptions { affinity = Unbound , allocationLimit = Nothing , label = "" , maskingState = Unmasked }
-
koji Distribution.Koji No documentation available.