|
ADS
Algorithms and Data Structures
|
A hash table that one thread writes and many threads read at once, beyond the book. More...
Files | |
| file | ADS/concurrent/SingleWriterFlatTable.h |
| A hash table that one thread writes and many threads read at once, beyond the book: the open addressing with linear probing of ConcurrentFlatTable [see ConcurrentFlatTable.h] for a table that only its owner fills, e.g., the CLOSED set of a worker of a parallel search that the others read to prune their own states. | |
Classes | |
| class | ADS::SingleWriterFlatTable< K, V, H, Eq, C > |
| a DICTIONARY that one thread writes and many threads read at once, by linear probing on atomic words, with no read-modify-write per insertion, readers that read on while it grows, and no removal; cleared in \( O( 1 ) \) by the policy EpochClear More... | |
A hash table that one thread writes and many threads read at once, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of concurrency.