{-# LANGUAGE MagicHash #-}
{-# OPTIONS_HADDOCK not-home #-}
module GHC.Conc.Sync
(
ThreadId(..)
, fromThreadId
, showThreadId
, myThreadId
, killThread
, throwTo
, yield
, labelThread
, labelThreadByteArray#
, mkWeakThreadId
, listThreads
, threadLabel
, ThreadStatus(..), BlockReason(..)
, threadStatus
, threadCapability
, forkIO
, forkIOWithUnmask
, forkOn
, forkOnWithUnmask
, numCapabilities
, getNumCapabilities
, setNumCapabilities
, getNumProcessors
, numSparks
, childHandler
, par
, pseq
, runSparks
, newStablePtrPrimMVar, PrimMVar
, setAllocationCounter
, getAllocationCounter
, enableAllocationLimit
, disableAllocationLimit
, STM(..)
, atomically
, retry
, orElse
, throwSTM
, catchSTM
, TVar(..)
, newTVar
, newTVarIO
, readTVar
, readTVarIO
, writeTVar
, unsafeIOToSTM
, withMVar
, modifyMVar_
, setUncaughtExceptionHandler
, getUncaughtExceptionHandler
, reportError, reportStackOverflow, reportHeapOverflow
, sharedCAF
) where
import GHC.Internal.Conc.Sync