Searched refs:memory_order (Results 1 – 5 of 5) sorted by relevance
| /oneTBB/src/tbb/ |
| H A D | queuing_rw_mutex.cpp | 42 … static T* fetch_add( std::atomic<word>& location, word addend, std::memory_order memory_order ) { in fetch_add() argument 43 return reinterpret_cast<T*>(location.fetch_add(addend, memory_order)); in fetch_add() 46 static T* exchange( std::atomic<word>& location, T* value, std::memory_order memory_order ) { in exchange() argument 47 return reinterpret_cast<T*>(location.exchange(reinterpret_cast<word>(value), memory_order)); in exchange() 50 …ng( std::atomic<word>& obj, const T* expected, const T* desired, std::memory_order memory_order ) { in compare_exchange_strong() argument 52 obj.compare_exchange_strong(expd, reinterpret_cast<word>(desired), memory_order); in compare_exchange_strong() 56 … static void store( std::atomic<word>& location, const T* value, std::memory_order memory_order ) { in store() argument 57 location.store(reinterpret_cast<word>(value), memory_order); in store() 60 static T* load( std::atomic<word>& location, std::memory_order memory_order ) { in load() argument 61 return reinterpret_cast<T*>(location.load(memory_order)); in load()
|
| H A D | arena.h | 177 bool test(std::memory_order order = std::memory_order_acquire) {
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _waitable_atomic.h | 52 T load(std::memory_order order) const noexcept { in load() 60 void wait(T old, std::uintptr_t context, std::memory_order order) { in wait()
|
| H A D | _utils.h | 96 T spin_wait_while(const std::atomic<T>& location, C comp, std::memory_order order) { in spin_wait_while() 109 T spin_wait_while_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::… 116 T spin_wait_until_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::…
|
| /oneTBB/test/common/ |
| H A D | doctest.h | 3509 T fetch_add(T arg, std::memory_order order = std::memory_order_seq_cst) DOCTEST_NOEXCEPT { 3513 T fetch_sub(T arg, std::memory_order order = std::memory_order_seq_cst) DOCTEST_NOEXCEPT { 3519 T load(std::memory_order order = std::memory_order_seq_cst) const DOCTEST_NOEXCEPT { 3532 … void store(T desired, std::memory_order order = std::memory_order_seq_cst) DOCTEST_NOEXCEPT {
|