|
ADS
Algorithms and Data Structures
|
A hash table that many threads read and change at once, beyond the book. More...
Files | |
| file | ADS/concurrent/ConcurrentCuckooTable.h |
| A hash table that many threads read and change at once, beyond the book: the cuckoo hashing with buckets of 4 places and tags of 8 bits of BucketCuckooTable [see BucketCuckooTable.h], made concurrent with one lock per region of buckets and, for keys and values that can be read atomically, lookups that take no lock at all. | |
Classes | |
| class | ADS::ConcurrentCuckooTable< K, V, H, Eq > |
| a DICTIONARY shared by threads, by cuckoo hashing with a lock per region More... | |
Variables | |
| template<class K, class V, class H, class Eq> | |
| constexpr bool | ADS::nonmonotone_values< ConcurrentCuckooTable< K, V, H, Eq > > = true |
| the values of the table may rise as well as fall [see Capabilities.h]: a lookup reads a pair under the version of its region, or under its lock, so that it returns a value that one write left whole, whatever the direction of the writes | |
A hash table that many threads read and change at once, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of concurrency.
|
inlineconstexpr |
the values of the table may rise as well as fall [see Capabilities.h]: a lookup reads a pair under the version of its region, or under its lock, so that it returns a value that one write left whole, whatever the direction of the writes