Lines Matching refs:mutex
3 The customizing mutex type for ``concurrent_hash_map``
16 oneTBB ``concurrnent_hash_map`` class uses reader-writer mutex
18 for ``concurrent_hash_map`` that allows to customize the type of the reader-writer mutex.
52 The type of the mutex passed as a template argument for ``concurrent_hash_map`` should
58 **Returns**: ``true`` if the ``scoped_lock`` object acquires the mutex as a writer, ``false`` other…
60 The behavior is undefined if the ``scoped_lock`` object does not acquire the mutex.
68 of `ReaderWriterMutex` and how to customize ``concurrent_hash_map`` to use this mutex.
87 scoped_lock(SharedMutexWrapper& mutex, bool write = true)
88 : my_mutex_ptr(&mutex), my_writer_flag(write)
101 void acquire(SharedMutexWrapper& mutex, bool write = true) {
104 my_mutex_ptr = &mutex;