ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Concurrency

The queues between threads, the concurrent hash table and the concurrent union-find. More...

Topics

 Theory of concurrency
 Backoff.h
 The exponential backoff of a thread that waits for a word of memory to change, beyond the book.
 ConcurrentCuckooTable.h
 A hash table that many threads read and change at once, beyond the book.
 ConcurrentFlatTable.h
 A hash table that many threads read and grow at once, beyond the book.
 ConcurrentUnionFind.h
 The union-find that many threads change at once, beyond the book.
 EventCount.h
 An event count, beyond the book.
 LockFreePriorityQueue.h
 A priority queue shared by threads that is exact, linearizable and lock-free, beyond the book.
 MinBoard.h
 A board of the least keys of \( p \) threads, beyond the book.
 MPMCQueue.h
 A bounded queue of many producers and many consumers, beyond the book.
 MPSCInbox.h
 An inbox that many producer threads fill and one consumer thread empties, lock-free, beyond the book.
 MPSCQueue.h
 A queue that many producer threads fill and one consumer thread empties, lock-free and unbounded, beyond the book.
 MultiQueue.h
 A relaxed priority queue shared by threads, beyond the book.
 SingleWriterFlatTable.h
 A hash table that one thread writes and many threads read at once, beyond the book.
 SPSCQueue.h
 A bounded queue between one producer thread and one consumer thread, lock-free and wait-free, beyond the book.
 StealablePriorityQueue.h
 The priority queue of one worker that the other workers steal from, beyond the book, and the frontier of \( p \) such queues of a parallel best-first search or branch-and-bound with work stealing.
 WorkStealingDeque.h
 The deque of work stealing of Chase and Lev, beyond the book.

Detailed description

The queues between threads, the concurrent hash table and the concurrent union-find.

The definitions, the invariants and the costs of the area are in Theory of concurrency.