ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
LockFreePriorityQueue.h

A priority queue shared by threads that is exact, linearizable and lock-free, beyond the book. More...

Files

file  ADS/concurrent/LockFreePriorityQueue.h
 A priority queue shared by threads that is exact, linearizable and lock-free, beyond the book: the skiplist of Lindén and Jonsson, whose DeleteMin pays one read-modify-write in the common case and leaves the nodes it deletes in the list, to be cut off in batches.

Classes

class  ADS::LockFreePriorityQueue< K, T, Less >
 an exact PRIORITY QUEUE shared by threads, linearizable and lock-free: the skiplist of Lindén and Jonsson, its deleted prefix cut in batches More...
class  ADS::LockFreePriorityQueue< K, T, Less >::Handle
 the access of one thread to a LockFreePriorityQueue: its record of the epochs, the generator of its heights and the counter of its stamps More...

Detailed description

A priority queue shared by threads that is exact, linearizable and lock-free, beyond the book.

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