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.
-
ki Ki 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 Ki What, if anything, a thread is bound to.
-
ki Ki - 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 Ki No documentation available.
defaultThreadOptions :: ThreadOptionski Ki Default thread options.
ThreadOptions { affinity = Unbound , allocationLimit = Nothing , label = "" , maskingState = Unmasked }
compressThreads :: CompressParams -> Intlzma Codec.Compression.Lzma Number of threads to use. It must be greater than zero.
unsafeRead :: (MMatrix m v a, PrimMonad s) => m v (PrimState s) a -> (Int, Int) -> s amatrices Data.Matrix.Class.Mutable No documentation available.
unsafeRead :: (MMatrix m v a, PrimMonad s) => m v (PrimState s) a -> (Int, Int) -> s amatrices Data.Matrix.Generic.Mutable No documentation available.
unsafeRead :: (Context a, PrimMonad s) => MMatrix (PrimState s) a -> (Int, Int) -> s amatrices Data.Matrix.Mutable No documentation available.
unsafeRead :: (Context a, PrimMonad s) => MMatrix (PrimState s) a -> (Int, Int) -> s amatrices Data.Matrix.Storable.Mutable No documentation available.