Vocabulary
concurrency.locks

Inputs
locka lock
quota quotation


Outputs
None

Word description
Calls the quotation, ensuring that no other thread is holding a read or write lock at the same time. If another thread is holding a read or write lock, blocks until the thread releases the lock.

Definition