Data.Atomics.Counter

Type of counters of counters and tickets

data AtomicCounter

Creating counters

newCounter

Tickets, used for compare-and-swap

type CTicket

peekCTicket

Atomic memory operations

casCounter

incrCounter

incrCounter_

Non-atomic operations

readCounter

readCounterForCAS

writeCounter