Vocabulary
concurrency.locks

Inputs
locka lock
quota quotation


Outputs
None

Word description
Calls the quotation, ensuring that only one thread executes with the lock held at a time. If another thread is holding the lock, blocks until the thread releases the lock.

Definition