Spinlock implementation backed by Condition.
Atomically exchanges rhs and lhs.
Atomically loads the value of rhs.
Atomically loads an array element in the value of rhs.
Atomically loads a field element in the value of rhs.
Atomically stores the array element lhs in an array element of rhs.
Atomically stores the field element lhs in a field element of rhs.
Performs an atomic operation op on rhs and lhs.
Atomically stores lhs in rhs.
Inserts a load/store memory fence, ensuring that all loads and stores before this call happen before any loads and stores after.
Reimplementation of core.atomic with better data support.