Home
last modified time | relevance | path

Searched refs:my_mutex (Results 1 – 17 of 17) sorted by relevance

/oneTBB/test/conformance/
H A Dconformance_mutex.h236 mutex_type* my_mutex; variable
249 my_mutex = &m; in acquire()
254 my_mutex = &m; in try_acquire()
263 my_mutex->my_iso_mutex.unlock(); in release()
264 my_mutex = nullptr; in release()
273 my_mutex = nullptr; in release()
283 my_mutex = &m; in acquire()
288 my_mutex = &m; in try_acquire()
299 my_mutex->my_iso_mutex.lock(); in upgrade_to_writer()
311 if (my_mutex) in ~scoped_lock()
[all …]
/oneTBB/include/oneapi/tbb/detail/
H A D_flow_graph_cache_impl.h34 typename mutex_type::scoped_lock lock( my_mutex ); in empty()
39 typename mutex_type::scoped_lock lock( my_mutex ); in add()
44 typename mutex_type::scoped_lock lock( my_mutex ); in remove()
60 mutex_type my_mutex; variable
224 mutex_type my_mutex; variable
243 typename mutex_type::scoped_lock l(my_mutex, true); in register_successor()
251 typename mutex_type::scoped_lock l(my_mutex, true); in remove_successor()
262 typename mutex_type::scoped_lock l(my_mutex, false); in empty()
279 mutex_type my_mutex; variable
296 typename mutex_type::scoped_lock l(my_mutex, true); in register_successor()
[all …]
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst91 my_mutex_ptr->my_mutex.lock();
93 my_mutex_ptr->my_mutex.lock_shared();
108 my_mutex_ptr->my_mutex.lock();
110 my_mutex_ptr->my_mutex.lock_shared();
116 my_mutex_ptr->my_mutex.unlock();
118 my_mutex_ptr->my_mutex.unlock_shared();
126 my_mutex_ptr->my_mutex.unlock_shared();
127 my_mutex_ptr->my_mutex.lock();
134 my_mutex_ptr->my_mutex.unlock();
135 my_mutex_ptr->my_mutex.lock_shared();
[all …]
/oneTBB/src/tbb/
H A Dqueuing_rw_mutex.cpp164 s.my_mutex = &m; in acquire()
180 ITT_NOTIFY(sync_prepare, s.my_mutex); in acquire()
220 ITT_NOTIFY(sync_prepare, s.my_mutex); in acquire()
250 ITT_NOTIFY(sync_acquired, s.my_mutex); in acquire()
275 s.my_mutex = &m; in try_acquire()
276 ITT_NOTIFY(sync_acquired, s.my_mutex); in try_acquire()
284 ITT_NOTIFY(sync_releasing, s.my_mutex); in release()
417 ITT_NOTIFY(sync_releasing, s.my_mutex); in downgrade_to_reader()
467 ITT_NOTIFY(sync_releasing, s.my_mutex); in upgrade_to_writer()
521 ITT_NOTIFY(sync_prepare, s.my_mutex); in upgrade_to_writer()
[all …]
H A Dthread_request_serializer.cpp39 mutex_type::scoped_lock lock(my_mutex); in update()
47 mutex_type::scoped_lock lock(my_mutex); in set_active_num_workers()
84 mutex_type::scoped_lock lock(my_mutex, /* is_write = */ false); in register_mandatory_request()
99 mutex_type::scoped_lock lock(my_mutex, /* is_write = */ true); in set_active_num_workers()
H A Dmarket.cpp53 mutex_type::scoped_lock lock(my_mutex); in register_client()
59 mutex_type::scoped_lock lock(my_mutex); in unregister_and_destroy_client()
114 mutex_type::scoped_lock lock(my_mutex); in set_active_num_workers()
126 mutex_type::scoped_lock lock(my_mutex); in adjust_demand()
H A Dconcurrent_monitor.h216 concurrent_monitor_mutex::scoped_lock l(my_mutex); in prepare_wait()
247 concurrent_monitor_mutex::scoped_lock l(my_mutex); in cancel_wait()
288 concurrent_monitor_mutex::scoped_lock l(my_mutex); in notify_one_relaxed()
327 concurrent_monitor_mutex::scoped_lock l(my_mutex); in notify_all_relaxed()
366 concurrent_monitor_mutex::scoped_lock l(my_mutex); in notify_relaxed()
401 concurrent_monitor_mutex::scoped_lock l(my_mutex); in notify_one_relaxed()
435 concurrent_monitor_mutex::scoped_lock l(my_mutex); in abort_all_relaxed()
457 my_mutex.destroy(); in destroy()
474 concurrent_monitor_mutex my_mutex{};
H A Dco_context.h81 std::mutex my_mutex; member
177 std::unique_lock<std::mutex> lock(c.my_mutex); in coroutine_thread_func()
225 std::unique_lock<std::mutex> lock(c.my_mutex); in create_coroutine()
248 std::unique_lock<std::mutex> lock(new_coroutine.my_mutex); in swap_coroutine()
257 std::unique_lock<std::mutex> lock(prev_coroutine.my_mutex); in swap_coroutine()
265 std::unique_lock<std::mutex> lock(c.my_mutex); in destroy_coroutine()
H A Dthread_request_serializer.h56 mutex_type my_mutex; variable
75 mutex_type my_mutex; variable
H A Dtask_stream.h50 mutex_t my_mutex{}; in alignas()
213 if( lock.try_acquire(lane.my_mutex) && !lane.my_queue.empty() ) { in pop_specific()
236 if( lock.try_acquire( lanes[lane_idx].my_mutex ) ) { in try_push()
251 if( lock.try_acquire( lane.my_mutex ) && !lane.my_queue.empty() ) { in try_pop()
H A Dobserver_proxy.h44 my_mutex_type my_mutex; variable
80 spin_rw_mutex& mutex () { return my_mutex.begin()[0]; } in mutex()
H A Dmarket.h55 mutex_type my_mutex; variable
/oneTBB/examples/graph/dining_philosophers/
H A Ddining_philosophers.cpp103 oneapi::tbb::spin_mutex my_mutex; variable
208 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in forward()
216 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in eat()
221 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in eat()
228 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in think()
233 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in think()
285 oneapi::tbb::spin_mutex::scoped_lock lock(my_mutex); in main()
/oneTBB/include/oneapi/tbb/
H A Dqueuing_rw_mutex.h65 my_mutex = nullptr; in initialize()
88 if( my_mutex ) release(); in ~scoped_lock()
115 queuing_rw_mutex* my_mutex;
H A Dflow_graph.h316 spin_mutex::scoped_lock l(my_mutex); in register_predecessor()
326 spin_mutex::scoped_lock l(my_mutex); in remove_predecessor()
353 spin_mutex my_mutex; variable
588 spin_mutex::scoped_lock lock(my_mutex); in __TBB_requires()
597 spin_mutex::scoped_lock lock(my_mutex); in __TBB_requires()
604 spin_mutex::scoped_lock lock(my_mutex); in __TBB_requires()
622 spin_mutex::scoped_lock lock(my_mutex); in __TBB_requires()
639 spin_mutex::scoped_lock lock(my_mutex); in __TBB_requires()
690 spin_mutex my_mutex; in __TBB_requires()
1891 spin_mutex my_mutex; variable
[all …]
/oneTBB/test/tbb/
H A Dtest_concurrent_hash_map.cpp541 my_mutex_ptr->my_mutex.lock(); in scoped_lock()
554 my_mutex_ptr->my_mutex.lock(); in acquire()
558 if (m.my_mutex.try_lock()) { in try_acquire()
567 my_mutex_ptr->my_mutex.unlock(); in release()
592 std::mutex my_mutex; member in MinimalisticMutex
H A Dtest_flow_graph_whitebox.cpp205 tbb::spin_mutex::scoped_lock l(cnode.my_mutex); in TestContinueNode()