| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
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
- labelArbiterThread :: MonadIO m => Text -> Maybe Text -> m ()
- microsPerSecond :: Num a => a
- millisPerSecond :: Num a => a
- micros :: NominalDiffTime -> Int
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.