Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Namespaces | |
internal | |
Classes | |
class | concurrent_hash_map |
Unordered map from Key to T. More... | |
class | concurrent_priority_queue |
Concurrent priority queue. More... | |
class | concurrent_unordered_map |
class | concurrent_unordered_map_traits |
class | concurrent_unordered_multimap |
class | concurrent_unordered_multiset |
class | concurrent_unordered_set |
class | concurrent_unordered_set_traits |
class | reader_writer_lock |
Writer-preference reader-writer lock with local-only spinning on readers. More... | |
Functions | |
template<typename T > | |
size_t | tbb_hasher (const T &t) |
Hasher functions. More... | |
template<typename P > | |
size_t | tbb_hasher (P *ptr) |
template<typename E , typename S , typename A > | |
size_t | tbb_hasher (const std::basic_string< E, S, A > &s) |
template<typename F , typename S > | |
size_t | tbb_hasher (const std::pair< F, S > &p) |
uintptr_t | fetch_and_or (atomic< uintptr_t > &operand, uintptr_t value) |
uintptr_t | fetch_and_and (atomic< uintptr_t > &operand, uintptr_t value) |
template<typename T , typename U > | |
void | spin_wait_while_geq (const volatile T &location, U value) |
Spin WHILE the value at the location is greater than or equal to a given value. More... | |
template<typename T , typename U > | |
void | spin_wait_until_and (const volatile T &location, U value) |
Spin UNTIL (location & value) is true. More... | |
Variables | |
const uintptr_t | WFLAG1 = 0x1 |
const uintptr_t | WFLAG2 = 0x2 |
const uintptr_t | RFLAG = 0x4 |
const uintptr_t | RC_INCR = 0x8 |
|
inline |
Definition at line 46 of file reader_writer_lock.cpp.
References tbb::internal::atomic_impl< T >::compare_and_swap(), and tbb::internal::atomic_backoff::pause().
Referenced by tbb::interface5::reader_writer_lock::end_write().
|
inline |
Definition at line 37 of file reader_writer_lock.cpp.
References tbb::internal::atomic_impl< T >::compare_and_swap(), and tbb::internal::atomic_backoff::pause().
Referenced by tbb::interface5::reader_writer_lock::set_next_writer(), and tbb::interface5::reader_writer_lock::start_read().
void tbb::interface5::spin_wait_until_and | ( | const volatile T & | location, |
U | value | ||
) |
Spin UNTIL (location & value) is true.
T and U should be comparable types.
Definition at line 65 of file reader_writer_lock.cpp.
References tbb::internal::atomic_backoff::pause().
Referenced by tbb::interface5::reader_writer_lock::set_next_writer().
void tbb::interface5::spin_wait_while_geq | ( | const volatile T & | location, |
U | value | ||
) |
Spin WHILE the value at the location is greater than or equal to a given value.
T and U should be comparable types.
Definition at line 57 of file reader_writer_lock.cpp.
References tbb::internal::atomic_backoff::pause().
Referenced by tbb::interface5::reader_writer_lock::set_next_writer().
|
inline |
Hasher functions.
Definition at line 61 of file _tbb_hash_compare_impl.h.
References tbb::interface5::internal::hash_multiplier.
Referenced by tbb::tbb_hash_compare< Key >::hash(), tbb::tbb_hash< Key >::operator()(), and tbb_hasher().
|
inline |
Definition at line 65 of file _tbb_hash_compare_impl.h.
References h.
|
inline |
Definition at line 70 of file _tbb_hash_compare_impl.h.
References h, and tbb::interface5::internal::hash_multiplier.
|
inline |
Definition at line 77 of file _tbb_hash_compare_impl.h.
References tbb_hasher().
const uintptr_t tbb::interface5::RC_INCR = 0x8 |
Definition at line 33 of file reader_writer_lock.cpp.
Referenced by tbb::interface5::reader_writer_lock::end_read(), tbb::interface5::reader_writer_lock::start_read(), and tbb::interface5::reader_writer_lock::try_lock_read().
const uintptr_t tbb::interface5::RFLAG = 0x4 |
Definition at line 32 of file reader_writer_lock.cpp.
Referenced by tbb::interface5::reader_writer_lock::set_next_writer(), and tbb::interface5::reader_writer_lock::unblock_readers().
const uintptr_t tbb::interface5::WFLAG1 = 0x1 |
Definition at line 30 of file reader_writer_lock.cpp.
const uintptr_t tbb::interface5::WFLAG2 = 0x2 |
Definition at line 31 of file reader_writer_lock.cpp.
Referenced by tbb::interface5::reader_writer_lock::try_lock_read().