Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 89) sorted by relevance

1234

/oneTBB/test/tbb/
H A Dtest_task.cpp52 CountingTask( tbb::detail::d1::wait_context& wait ) : my_wait(wait) {} in CountingTask() argument
115 wait.release(1); in test_cancellation_on_exception()
135 barrier.wait();
137 test_gr.wait();
187 tbb::detail::d1::wait(wait, test_context);
237 tbb::detail::d1::wait(wait, test_context);
408 tbb::detail::d1::wait(wait, test_context); in __anon509d20bd0b02()
575 tbb::detail::d1::wait(wait, test_context); in __anon509d20bd1602()
620 tbb::detail::d1::wait(wait, test_context); in __anon509d20bd1902()
715 tbb::detail::d1::wait(wait, test_context); in __anon509d20bd1f02()
[all …]
H A Dtest_task_group.cpp331 tg.wait(); in impl()
366 tg.wait(); in TestFibWithLambdas()
383 tg.wait(); in TestFibWithFunctionPtr()
479 g.wait(); in LaunchChildrenWithFunctor()
519 tg.wait(); in TestExceptionHandling1()
537 tg.wait(); in TestExceptionHandling2()
676 tg.wait(); in TestBareFunctors()
679 tg.wait(); in TestBareFunctors()
920 tg2.wait();
1041 tg.wait();
[all …]
H A Dtest_collaborative_call_once.cpp240 barrier.wait([&] { in __anon8532fc100602()
336 barrier.wait(); in __anon8532fc100c02()
339 barrier.wait(); in __anon8532fc100c02()
355 barrier.wait(); in __anon8532fc100f02()
356 barrier.wait(); in __anon8532fc100f02()
362 barrier.wait(); in __anon8532fc100f02()
366 barrier.wait();
374 barrier.wait(); in __anon8532fc101102()
376 barrier.wait(); in __anon8532fc101102()
380 barrier.wait(); in __anon8532fc101102()
H A Dtest_task_arena.cpp205 barrier.wait(); in TestConcurrentArenasFunc()
233 my_b1.wait(); in operator ()()
276 wait_context wait(0); in operator ()() local
279 wait.reserve(); in operator ()()
283 my_b.wait(); in operator ()()
295 barrier2.wait(); in TestMultipleMasters()
306 barrier.wait(); in TestMultipleMasters()
522 m_barrier.wait(); in on_scheduler_exit()
1366 m_barrier.wait(); in on_scheduler_entry()
1651 thread_barrier.wait(); in StressTestMixFunctionality()
[all …]
H A Dtest_concurrent_monitor.cpp68 barrier.wait(); in __anon1eb8c3140102()
78 barrier.wait();
H A Dtest_semaphore.cpp60 sBarrier.wait(); in operator ()()
201 sBarrier.wait(); in Produce()
227 sBarrier.wait(); in Consume()
H A Dtest_flow_graph.cpp131 barrier.wait(); // wait until all nodes are created in operator ()()
138 barrier.wait(); // wait until all threads are done counting in operator ()()
140 barrier.wait(); // wait until all threads have deleted all nodes in their vectors in operator ()()
147 barrier.wait(); // wait until all threads are done counting in operator ()()
H A Dtest_resumable_tasks.cpp74 async->m_condvar.wait(lock, [async] {return !async->m_tagQueue.empty(); }); in asyncLoop()
222 async->m_condvar.wait(lock, [async] {return !async->m_tagQueue.empty(); }); in asyncLoop()
327 tg.wait(); in TestCleanupMaster()
361 tg.wait(); in TestNativeThread()
/oneTBB/test/conformance/
H A Dconformance_task_group.cpp63 tg.wait();
158 tg.wait(); in __anon0c2008c70702()
189 CHECK_THROWS_AS(tg.wait(), std::runtime_error);
207 void run_cancellation_use_case(CancelF&& cancel, WaitF&& wait) { in run_cancellation_use_case() argument
230 outer_status = std::forward<WaitF>(wait)(outer_tg); in run_cancellation_use_case()
236 tbb::task_group_status inner_status = inner_tg.wait(); in run_cancellation_use_case()
253 [](tbb::task_group& outer) { return outer.wait(); } in test()
266 outer.wait(); in test()
H A Dconformance_global_control.cpp54 barr1->wait(); in operator ()()
57 barr2->wait(); in operator ()()
109 barr.wait(); in operator ()()
114 barr.wait(); in operator ()()
152 barrier.wait(); in operator ()()
157 barrier.wait(); in operator ()()
160 barrier.wait(); in operator ()()
164 barrier.wait(); in operator ()()
166 barrier.wait(); in operator ()()
172 barrier.wait(); in operator ()()
[all …]
H A Dconformance_collaborative_call_once.cpp78 barrier.wait(); in __anon8e61f74e0302()
98 barrier.wait(); in __anon8e61f74e0402()
110 barrier.wait(); in __anon8e61f74e0602()
118 tg.wait();
H A Dconformance_task_arena.cpp142 tg.wait();
163 tg.wait();
192 tg.wait();
213 CHECK_THROWS_AS(tg.wait(), std::runtime_error);
230 CHECK_THROWS_AS(tg.wait(), std::runtime_error);
/oneTBB/python/tbb/
H A Dapi.i101 b.event.wait(lock);
104 b.event.wait(lock);
105 tg.wait();
134 void wait();
H A Dpool.py221 self._tasks.wait()
344 if not self.wait(timeout):
350 def wait(self, timeout=None): member in ApplyResult
353 self._event.wait(timeout)
525 self._cond.wait(timeout=timeout)
596 res.wait(timeout)
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_init_shutdown.cpp44 my_barr->wait(); in operator ()()
74 my_barr->wait(); in operator ()()
87 my_barr->wait(); in operator ()()
H A Dtest_malloc_used_by_lib.cpp102 startBarr.wait(); in operator ()()
104 endBarr.wait(unloadCallback); in operator ()()
H A Dtest_malloc_pools.cpp142 startB.wait(); in operator ()()
156 mallocDone.wait(); in operator ()()
264 barrier.wait(); in operator ()()
348 startB.wait(); in operator ()()
366 startB->wait(); in operator ()()
379 barrier->wait(); in operator ()()
382 barrier->wait(); in operator ()()
801 barrier->wait(); in operator ()()
809 barrier->wait(); in operator ()()
H A Dtest_malloc_whitebox.cpp147 barrier.wait(); in operator ()()
195 barrier.wait(); in operator ()()
303 barrier.wait(); in operator ()()
645 barrier.wait(); in operator ()()
843 barrier.wait(); in operator ()()
845 barrier.wait(); in operator ()()
879 barrier.wait(); in operator ()()
881 barrier.wait(); in operator ()()
883 barrier.wait(); in operator ()()
1142 barrier.wait(); in operator ()()
[all …]
/oneTBB/test/common/
H A Dspin_barrier.h158 bool wait( const Callback& onOpenBarrierCallback ) { in wait() function
162 bool wait() { in wait() function
163 return wait(DummyCallback()); in wait()
/oneTBB/src/tbb/
H A Dconcurrent_monitor_mutex.h55 wait(); in lock()
70 void wait() { in wait() function
H A Drml_thread_monitor.h92 void wait();
234 inline void thread_monitor::wait() { in wait() function
H A Dconcurrent_monitor.h119 virtual void wait() = 0;
167 void wait() override { in wait() function
232 node.wait(); in commit_wait()
259 bool wait(Pred&& pred, NodeType&& node) { in wait() function
/oneTBB/doc/main/tbb_userguide/
H A Ddestroy_graphs_outside_main_thread.rst6 Make sure to enqueue a task to wait for and destroy graphs that run outside the main thread.
11 and wait for the graph to complete. For example, assume you really do
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_API.rst54 tg.wait();
191 tg.wait();
224 tg.wait();
256 tg.wait();
326 tg.wait();
384 tg.wait();
443 tg.wait();
452 …The call to ``oneapi::tbb::task_group::wait`` will not return control until both ``ChildTask`` and
/oneTBB/include/oneapi/tbb/detail/
H A D_task.h53 TBB_EXPORT void __TBB_EXPORTED_FUNC wait(d1::wait_context&, d1::task_group_context& ctx);
196 inline void wait(wait_context& wait_ctx, task_group_context& ctx) { in wait() function
197 r1::wait(wait_ctx, ctx); in wait()

1234