A lock using an array to store waiting threads in a queue.
A lock based upon the test-and-set operation Based on Herlihy & Shavit, Section 7.
A lock based upon Lamport's Bakery Algorithm Based on Herlihy & Shavit, Section 2.
A queue lock, suitable for an arbitrary number of threads.
A condition associated with a lock.
A readers-writers lock, that aims to prevent starvation of writers.
A trait for locks.
A lock based on Peterson's Algorithm
A trait for reader-writer locks.
A counting semaphore.
A lock using an array to store waiting threads in a queue.
An implementation of conditions, based on synchronized
blocks.
A lock based upon the test-and-set operation with fixed-time backoff.
A readers-writers lock.
A re-entrant lock.
A lock based upon the test-and-set operation Based on Herlihy & Shavit, Chapter 7.
A lock based upon the test-and-set operation Based on Herlihy & Shavit, Chapter 7.