Home
last modified time | relevance | path

Searched refs:null_mutex (Results 1 – 9 of 9) sorted by relevance

/oneTBB/include/oneapi/tbb/
H A Dnull_mutex.h31 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 Dconformance_mutex.cpp52 …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 Dconformance_mutex.h76 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 DMutex_Flavors.rst84 - ``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 Dtest_hw_concurrency.cpp78 tbb::null_mutex nm;
H A Dtest_mutex.cpp194 …tbb::spin_mutex, oneapi::tbb::mutex, tbb::speculative_spin_mutex, tbb::null_mutex, tbb::queuing_mu…
H A Dtest_tbb_header.cpp224 TestTypeDefinitionPresence( null_mutex ); in DefinitionPresence()
/oneTBB/include/oneapi/tbb/detail/
H A D_flow_graph_node_impl.h60 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.h362 reservable_predecessor_cache< T, null_mutex > my_predecessors;