Control.Concurrent

# Concurrent Haskell

# Basic concurrency operations

data ThreadId

myThreadId

forkIO

forkIOUnmasked

killThread

throwTo

# Scheduling

yield

## Blocking

## Waiting

threadDelay

threadWaitRead

threadWaitWrite

# Communication abstractions

# Merging of streams

mergeIO

nmergeIO

# Bound Threads

forkOS

isCurrentThreadBound

runInBoundThread

runInUnboundThread

# GHC's implementation of concurrency

## Haskell threads and Operating System threads

## Terminating the program

## Pre-emption