Lock

Mutual exclusion enforcement

Physics · Primitives · bootstrap 0.11.0

Mechanism

A synchronization primitive that enforces exclusive access to a resource. At most one holder may access the protected resource at any time. The holder must explicitly release the lock to allow others to acquire it.

Invariants

Preconditions

Postconditions

Failure modes

Caution

Exclusive access — starvation enables denial of service.

Where this came from

—

Used by

Identity