Home
last modified time | relevance | path

Searched refs:acquire (Results 1 – 25 of 26) sorted by relevance

12

/oneTBB/doc/main/tbb_userguide/
H A DLock_Pathologies.rst17 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 DMutual_Exclusion.rst10 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 DCook_Until_Done_parallel_do.rst71 There are two ways that ``parallel_for_each`` can acquire work scalably.
H A DMutex_Flavors.rst78 acquire the same lock, as long as there are no "conflicts" that may
/oneTBB/include/oneapi/tbb/detail/
H A D_rtm_mutex.h70 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.h36 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.h34 lock.acquire(mutex); in requires()
43 lock.acquire(mutex, false); in requires()
H A D_rtm_rw_mutex.h73 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 Dqueuing_rw_mutex.h83 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 Dqueuing_mutex.h61 acquire(m); in scoped_lock()
74 void acquire( queuing_mutex& m ) { in acquire() function
H A Dnull_mutex.h57 void acquire(null_mutex&) {} in acquire() function
H A Dnull_rw_mutex.h57 void acquire(null_rw_mutex&, bool = true) {}
H A Dconcurrent_hash_map.h709 …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 Drtm_mutex.cpp58 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 Dqueuing_rw_mutex.cpp158 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 Dthreading_control.cpp261 lock.acquire(g_threading_control_mutex); in wait_last_reference()
/oneTBB/test/conformance/
H A Dconformance_mutex.h45 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 Dtest_mutex.h46 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 Dtest_scheduler_mix.cpp123 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 DFenced_Data_Transfer.rst114 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 Dpool.py515 self._cond.acquire()
542 self._cond.acquire()
608 self._lock.acquire()
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst60 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 Dwin64-tbb.def57 ?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 Dwin32-tbb.def56 ?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 Dconcepts_common.h465 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…

12