arbiter-core-0.1.0.0
arbiter-core
Safe HaskellNone
LanguageGHC2024

Arbiter.Core.Threads

Description

Internal to the arbiter packages. Not covered by the PVP.

RTS thread labels for an eventlog, ThreadScope session or ghc-debug dump, and the time units of the timeout and delay primitives.

Synopsis

Documentation

labelArbiterThread :: MonadIO m => Text -> Maybe Text -> m ()Source #

Label the calling thread arbiter:role[:queue]. Only the role is slugged. For long-lived threads only.

microsPerSecond :: Num a => aSource #

Microseconds in one second.

millisPerSecond :: Num a => aSource #

Milliseconds in one second.

micros :: NominalDiffTime -> IntSource #

An interval in microseconds, for the timeout and delay primitives.