ox.cads

locks

package locks

Visibility
  1. Public
  2. All

Type Members

  1. class ArrayQueueLock extends Lock

    A lock using an array to store waiting threads in a queue.

  2. class BackoffLock extends Lock

    A lock based upon the test-and-set operation Based on Herlihy & Shavit, Section 7.

  3. class BakeryLock extends Lock

    A lock based upon Lamport's Bakery Algorithm Based on Herlihy & Shavit, Section 2.

  4. class CLHLock extends Lock

    A queue lock, suitable for an arbitrary number of threads.

  5. trait Condition extends AnyRef

    A condition associated with a lock.

  6. class FairReadWriteLock extends ReadWriteLock

    A readers-writers lock, that aims to prevent starvation of writers.

  7. trait Lock extends AnyRef

    A trait for locks.

  8. class PetersonLock extends Lock

    A lock based on Peterson's Algorithm

  9. trait ReadWriteLock extends AnyRef

    A trait for reader-writer locks.

  10. class Semaphore extends AnyRef

    A counting semaphore.

  11. class SimpleArrayQueueLock extends Lock

    A lock using an array to store waiting threads in a queue.

  12. class SimpleCondition extends Condition

    An implementation of conditions, based on synchronized blocks.

  13. class SimpleDelayLock extends Lock

    A lock based upon the test-and-set operation with fixed-time backoff.

  14. class SimpleReadWriteLock extends ReadWriteLock

    A readers-writers lock.

  15. class SimpleReentrantLock extends Lock

    A re-entrant lock.

  16. class TASLock extends Lock

    A lock based upon the test-and-set operation Based on Herlihy & Shavit, Chapter 7.

  17. class TTASLock extends Lock

    A lock based upon the test-and-set operation Based on Herlihy & Shavit, Chapter 7.

Value Members

  1. object Lock

Ungrouped