Monitor (synchronization)

ID: monitor-synchronization

A construct combining mutual exclusion for operations on shared state with condition-based waiting. A waiting caller releases the monitor while asleep and must recheck its predicate after regaining access.

New to topics? Read the docs here!