Control.Concurrent.STM.Lock

data Lock

Creating locks

new

newAcquired

Locking and unlocking

acquire

tryAcquire

release

Convenience functions

with

tryWith

wait

Querying locks

locked