Home
last modified time | relevance | path

Searched defs:AsyncActivity (Results 1 – 3 of 3) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_flow_graph_priorities.cpp255 struct AsyncActivity { struct
256 typedef async_node_type::gateway_type gateway_type;
258 struct work_type { data_type input; gateway_type* gateway; };
259 std::atomic<bool> done;
260 concurrent_queue<work_type> my_queue;
261 std::thread my_service_thread;
263 struct ServiceThreadFunc {
278 void stop_and_wait() { done = true; my_service_thread.join(); } in stop_and_wait()
280 void submit(data_type input, gateway_type* gateway) { in submit()
285 AsyncActivity(SpinBarrier& barrier) in AsyncActivity() argument
H A Dtest_resumable_tasks.cpp41 class AsyncActivity { class
43 AsyncActivity(int num_) : m_numAsyncThreads(num_) { in AsyncActivity() function in AsyncActivity
H A Dtest_async_node.cpp673 class AsyncActivity { class
682 AsyncActivity(size_t limit) : stop_limit(limit), c(0), thr([this]() { in __anon62ab872d0a02() function in AsyncActivity