Data.Atomics

Types for atomic operations

type Ticket a

peekTicket

Atomic operations on IORefs

readForCAS

casIORef

casIORef2

atomicModifyIORefCAS

atomicModifyIORefCAS_

Atomic operations on mutable arrays

casArrayElem

casArrayElem2

readArrayElem

Atomic operations on byte arrays

casByteArrayInt

fetchAddByteArrayInt

Atomic operations on raw MutVars

readMutVarForCAS

casMutVar

casMutVar2

Memory barriers