Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. ThreadId :: ThreadId# -> ThreadId

    base GHC.Conc.Sync

    No documentation available.

  2. fromThreadId :: ThreadId -> Word64

    base GHC.Conc.Sync

    Map a thread to an integer identifier which is unique within the current process.

  3. mkWeakThreadId :: ThreadId -> IO (Weak ThreadId)

    base GHC.Conc.Sync

    Make a weak pointer to a ThreadId. It can be important to do this if you want to hold a reference to a ThreadId while still allowing the thread to receive the BlockedIndefinitely family of exceptions (e.g. BlockedIndefinitelyOnMVar). Holding a normal ThreadId reference will prevent the delivery of BlockedIndefinitely exceptions because the reference could be used as the target of throwTo at any time, which would unblock the thread. Holding a Weak ThreadId, on the other hand, will not prevent the thread from receiving BlockedIndefinitely exceptions. It is still possible to throw an exception to a Weak ThreadId, but the caller must use deRefWeak first to determine whether the thread still exists.

  4. myThreadId :: IO ThreadId

    base GHC.Conc.Sync

    Returns the ThreadId of the calling thread (GHC only).

  5. showThreadId :: ThreadId -> String

    base GHC.Conc.Sync

    No documentation available.

  6. DivideByZero :: ArithException

    base GHC.Exception

    No documentation available.

  7. DivideByZero :: ArithException

    base GHC.Exception.Type

    No documentation available.

  8. invalidateDebugCache :: IO ()

    base GHC.ExecutionStack.Internal

    Free the cached debug data.

  9. data ThreadId#

    base GHC.Exts

    (In a non-concurrent implementation, this can be a singleton type, whose (unique) value is returned by myThreadId#. The other operations can be omitted.)

  10. type Void# = (# #)

    base GHC.Exts

    No documentation available.

Page 364 of many | Previous | Next