Searched refs:null_mutex (Results 1 – 9 of 9) sorted by relevance
| /oneTBB/include/oneapi/tbb/ |
| H A D | null_mutex.h | 31 class null_mutex { 34 constexpr null_mutex() noexcept = default; 37 ~null_mutex() = default; 40 null_mutex(const null_mutex&) = delete; 41 null_mutex& operator=(const null_mutex&) = delete; 48 scoped_lock(null_mutex&) {} in scoped_lock() argument 57 void acquire(null_mutex&) {} in acquire() argument 58 bool try_acquire(null_mutex&) { return true; } in try_acquire() argument 76 using detail::d1::null_mutex;
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.cpp | 52 …GeneralTest<oneapi::tbb::null_mutex, utils::AtomicCounter<oneapi::tbb::null_mutex>>("Null Mutex", … 54 TestNullMutex<oneapi::tbb::null_mutex>("Null Mutex"); 71 TestTryAcquire<oneapi::tbb::null_mutex>("Null Mutex");
|
| H A D | conformance_mutex.h | 76 void TestTryAcquire<oneapi::tbb::null_mutex>( const char* mutex_name ) { 77 oneapi::tbb::null_mutex tested_mutex; 78 typename oneapi::tbb::null_mutex::scoped_lock lock(tested_mutex);
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Mutex_Flavors.rst | 84 - ``null_mutex`` and ``null_rw_mutex`` do nothing. They can be useful 90 mutex types when locking is necessary, and ``null_mutex`` when 154 * - \ ``null_mutex`` [#]_
|
| /oneTBB/test/tbb/ |
| H A D | test_hw_concurrency.cpp | 78 tbb::null_mutex nm;
|
| H A D | test_mutex.cpp | 194 …tbb::spin_mutex, oneapi::tbb::mutex, tbb::speculative_spin_mutex, tbb::null_mutex, tbb::queuing_mu…
|
| H A D | test_tbb_header.cpp | 224 TestTypeDefinitionPresence( null_mutex ); in DefinitionPresence()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _flow_graph_node_impl.h | 60 typedef predecessor_cache<input_type, null_mutex > predecessor_cache_type; 129 predecessor_cache<input_type, null_mutex > my_predecessors;
|
| H A D | _flow_graph_join_impl.h | 362 reservable_predecessor_cache< T, null_mutex > my_predecessors;
|