Control.Concurrent.Lifted

# Concurrent Haskell

data ThreadId

# Basic concurrency operations

myThreadId

fork

forkWithUnmask

forkFinally

killThread

throwTo

## Threads with affinity

forkOn

forkOnWithUnmask

getNumCapabilities

setNumCapabilities

threadCapability

# Scheduling

yield

## Blocking

## Waiting

threadDelay

threadWaitRead

threadWaitWrite

# Communication abstractions

# Bound Threads

rtsSupportsBoundThreads

forkOS

isCurrentThreadBound

runInBoundThread

runInUnboundThread

# Weak references to ThreadIds

mkWeakThreadId