21 #ifndef __TBB_null_mutex_H 22 #define __TBB_null_mutex_H 24 #include "tbb_stddef.h" 31 class null_mutex : internal::mutex_copy_deprecated_and_disabled {
40 bool try_acquire(
null_mutex& ) {
return true; }
47 static const bool is_rw_mutex =
false;
48 static const bool is_recursive_mutex =
true;
49 static const bool is_fair_mutex =
true;
Represents acquisition of a mutex.
Definition: null_mutex.h:34
A mutex which does nothing.
Definition: null_mutex.h:31
The namespace tbb contains all components of the library.
Definition: parallel_for.h:44