| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Effectful.Internal.Utils
Contents
Documentation
weakThreadId :: ThreadId -> Int Source #
Get an id of a thread that doesn't prevent its garbage collection.
eqThreadId :: ThreadId -> ThreadId -> Bool Source #
Eq instance for ThreadId is broken in GHC < 9, see
https://gitlab.haskell.org/ghc/ghc/-/issues/16761 for more info.