| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Lock_Pathologies.rst | 17 Deadlock happens when threads are trying to acquire more than one 34 "acquired" part of the road, but needs to "acquire" the road under 43 - Always acquire locks in the same order. For example, if you have 45 acquire a lock on one of each, you could always acquire the "outer 46 sanctum" one first. Another example is "acquire locks in 48 if the locks are unnamed, acquire locks in order of the mutex’s
|
| H A D | Mutual_Exclusion.rst | 10 on which a thread can acquire a lock. Only one thread at a time can have 14 The simplest mutex is ``spin_mutex``. A thread trying to acquire a lock 15 on a ``spin_mutex`` busy waits until it can acquire the lock. A 78 lock.acquire(FreeListMutex); 89 Method ``acquire`` waits until it can acquire a lock on the mutex; 98 why there are not simply acquire and release methods on the mutex object 105 ``acquire`` and ``release –`` the explicit release causes the lock to be
|
| H A D | Cook_Until_Done_parallel_do.rst | 71 There are two ways that ``parallel_for_each`` can acquire work scalably.
|
| H A D | Mutex_Flavors.rst | 78 acquire the same lock, as long as there are no "conflicts" that may
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _rtm_mutex.h | 70 acquire(m); in alignas() 85 void acquire(rtm_mutex& m); in alignas() 111 …TBB_EXPORT void __TBB_EXPORTED_FUNC acquire(d1::rtm_mutex&, d1::rtm_mutex::scoped_lock&, bool only… 120 inline void rtm_mutex::scoped_lock::acquire(rtm_mutex& m) { in acquire() function 122 r1::acquire(m, *this); in acquire()
|
| H A D | _scoped_lock.h | 36 acquire(m); in unique_scoped_lock() 44 void acquire(Mutex& m) { in acquire() function 86 acquire(m, write); 101 void acquire(Mutex& m, bool write = true) {
|
| H A D | _mutex_common.h | 34 lock.acquire(mutex); in requires() 43 lock.acquire(mutex, false); in requires()
|
| H A D | _rtm_rw_mutex.h | 73 acquire(m, write); in alignas() 88 inline void acquire(rtm_rw_mutex& m, bool write = true); in alignas() 145 void rtm_rw_mutex::scoped_lock::acquire(rtm_rw_mutex& m, bool write) { in acquire() function
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | queuing_rw_mutex.h | 83 acquire(m,write); 96 void acquire( queuing_rw_mutex& m, bool write=true ); 161 TBB_EXPORT void acquire(d1::queuing_rw_mutex&, d1::queuing_rw_mutex::scoped_lock&, bool); 172 inline void queuing_rw_mutex::scoped_lock::acquire(queuing_rw_mutex& m,bool write) { in acquire() function 173 r1::acquire(m, *this, write); in acquire()
|
| H A D | queuing_mutex.h | 61 acquire(m); in scoped_lock() 74 void acquire( queuing_mutex& m ) { in acquire() function
|
| H A D | null_mutex.h | 57 void acquire(null_mutex&) {} in acquire() function
|
| H A D | null_rw_mutex.h | 57 void acquire(null_rw_mutex&, bool = true) {}
|
| H A D | concurrent_hash_map.h | 709 …oncurrent_hash_map *base, const hashcode_type h, bool writer = false ) { acquire( base, h, writer … in __TBB_requires() 711 … inline void acquire( concurrent_hash_map *base, const hashcode_type h, bool writer = false ) { in __TBB_requires() 719 else bucket::scoped_type::acquire( my_b->mutex, writer ); in __TBB_requires() 1588 else lock.acquire( b->mutex, /*write=*/false ); in __TBB_requires()
|
| /oneTBB/src/tbb/ |
| H A D | rtm_mutex.cpp | 58 static void acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s, bool only_speculate) { in acquire() function 93 acquire(m, s, /*only_speculate=*/true); in try_acquire() 108 void __TBB_EXPORTED_FUNC acquire(d1::rtm_mutex& m, d1::rtm_mutex::scoped_lock& s, bool only_specula… in acquire() function 109 rtm_mutex_impl::acquire(m, s, only_speculate); in acquire()
|
| H A D | queuing_rw_mutex.cpp | 158 static void acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, bool write) in acquire() function 587 void __TBB_EXPORTED_FUNC acquire(d1::queuing_rw_mutex& m, d1::queuing_rw_mutex::scoped_lock& s, boo… in acquire() function 588 queuing_rw_mutex_impl::acquire(m, s, write); in acquire()
|
| H A D | threading_control.cpp | 261 lock.acquire(g_threading_control_mutex); in wait_last_reference()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 45 lock.acquire(counter.mutex); 99 lock_inner.acquire(tested_mutex, true); // write lock in TestTryAcquireReader() 198 lock.acquire(counter.mutex, write); in TestReaderWriterLock() 241 acquire(m); in scoped_lock() 244 acquire(m,is_writer); in scoped_lock() 246 void acquire(mutex_type& m) { in acquire() function 279 void acquire(mutex_type& m, bool is_writer) { in acquire() function 333 lock2.acquire(counter.mutex); in recurse_till() 360 lock2.acquire(my_mutex, false); in operator()
|
| /oneTBB/test/tbb/ |
| H A D | test_mutex.h | 46 lock.acquire(mutex); in flog_once() 121 lock.acquire(mutex, write); in flog_once() 226 lock.acquire(rw_mutex, /*writer = */false); in TestIsWriter() 231 lock.acquire(rw_mutex, /*writer = */true); in TestIsWriter()
|
| H A D | test_scheduler_mix.cpp | 123 acquire(m); in ScopedLock() 136 void acquire(PtrRWMutex& m) { in acquire() function in PtrRWMutex::ScopedLock 469 std::pair<tbb::task_arena*, std::size_t> acquire(Random& rnd, ScopedLock& lock) { in acquire() function in ArenaTable 549 auto entry = arenaTable.acquire(r, lock); in do_it()
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Fenced_Data_Transfer.rst | 114 write. A read from ``std::atomic`` value has *acquire* semantics, 128 necessary *acquire* and *release* fences. For example, mutexes are 129 normally implemented such that acquisition of a lock has *acquire*
|
| /oneTBB/python/tbb/ |
| H A D | pool.py | 515 self._cond.acquire() 542 self._cond.acquire() 608 self._lock.acquire()
|
| /oneTBB/doc/main/reference/ |
| H A D | custom_mutex_chmap.rst | 60 The behavior is undefined if the ``scoped_lock`` object does not acquire the mutex. 101 void acquire(SharedMutexWrapper& mutex, bool write = true) {
|
| /oneTBB/src/tbb/def/ |
| H A D | win64-tbb.def | 57 ?acquire@r1@detail@tbb@@YAXAEAVrtm_mutex@d1@23@AEAVscoped_lock@4523@_N@Z 118 ?acquire@r1@detail@tbb@@YAXAEAVqueuing_rw_mutex@d1@23@AEAVscoped_lock@4523@_N@Z
|
| H A D | win32-tbb.def | 56 ?acquire@r1@detail@tbb@@YAXAAVrtm_mutex@d1@23@AAVscoped_lock@4523@_N@Z 116 ?acquire@r1@detail@tbb@@YAXAAVqueuing_rw_mutex@d1@23@AAVscoped_lock@4523@_N@Z
|
| /oneTBB/test/common/ |
| H A D | concepts_common.h | 465 void acquire( RwMutex&, bool = true ) requires (EnableSLAcquire == State::correct) {} 466 … void acquire( Dummy, bool = true ) requires (EnableSLAcquire == State::incorrect_first_input) {} 467 …void acquire( RwMutex&, Dummy = Dummy{} ) requires (EnableSLAcquire == State::incorrect_second_inp…
|