|
ADS
Algorithms and Data Structures
|
The union-find that many threads change at once, beyond the book. More...
Files | |
| file | ADS/concurrent/ConcurrentUnionFind.h |
| The union-find that many threads change at once, beyond the book [see UnionFind.h for the sequential ones]: the \( n \) elements \( 0 , \ldots , n - 1 \) in a forest of parents, a root being its own parent, each parent an atomic word changed only by compare-and-swap, with no lock. | |
Classes | |
| class | ADS::ConcurrentUnionFind |
| the union-find of the elements \( [ 0 , n ) \) that threads change at once More... | |
The union-find that many threads change at once, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of concurrency.