|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Public Types | |
| typedef spin_rw_mutex | segment_mutex_t |
| typedef size_t | hashcode_t |
| Type of a hash code. More... | |
Public Member Functions | |
| bool __TBB_EXPORTED_METHOD | internal_grow_predicate () const |
| True if my_logical_size>=my_physical_size. More... | |
Public Attributes | |
| segment_mutex_t | my_mutex |
| Mutex that protects this segment. More... | |
| atomic< size_t > | my_logical_size |
| size_t | my_physical_size |
Static Public Attributes | |
| static const size_t | n_segment_bits = 6 |
| Log2 of n_segment. More... | |
| static const size_t | max_physical_size = size_t(1)<<(8*sizeof(hashcode_t)-n_segment_bits) |
| Maximum size of array of chains. More... | |
Definition at line 23 of file concurrent_hash_map.cpp.
| typedef size_t tbb::internal::hash_map_segment_base::hashcode_t |
Type of a hash code.
Definition at line 26 of file concurrent_hash_map.cpp.
Definition at line 24 of file concurrent_hash_map.cpp.
| bool tbb::internal::hash_map_segment_base::internal_grow_predicate | ( | ) | const |
True if my_logical_size>=my_physical_size.
Used to support Intel(R) Thread Checker.
Definition at line 43 of file concurrent_hash_map.cpp.
References max_physical_size, my_logical_size, and my_physical_size.
|
static |
Maximum size of array of chains.
Definition at line 30 of file concurrent_hash_map.cpp.
Referenced by internal_grow_predicate().
| atomic<size_t> tbb::internal::hash_map_segment_base::my_logical_size |
Definition at line 34 of file concurrent_hash_map.cpp.
Referenced by internal_grow_predicate().
| segment_mutex_t tbb::internal::hash_map_segment_base::my_mutex |
Mutex that protects this segment.
Definition at line 32 of file concurrent_hash_map.cpp.
| size_t tbb::internal::hash_map_segment_base::my_physical_size |
Always zero or a power of two
Definition at line 37 of file concurrent_hash_map.cpp.
Referenced by internal_grow_predicate().
|
static |
Log2 of n_segment.
Definition at line 28 of file concurrent_hash_map.cpp.