Lines Matching refs:t
24 static inline void spawn_and_notify(d1::task& t, arena_slot* slot, arena* a) { in spawn_and_notify() argument
25 slot->spawn(t); in spawn_and_notify()
30 void __TBB_EXPORTED_FUNC spawn(d1::task& t, d1::task_group_context& ctx) { in spawn() argument
36 task_accessor::context(t) = &ctx; in spawn()
38 task_accessor::isolation(t) = tls->my_task_dispatcher->m_execute_data_ext.isolation; in spawn()
39 spawn_and_notify(t, slot, a); in spawn()
42 void __TBB_EXPORTED_FUNC spawn(d1::task& t, d1::task_group_context& ctx, d1::slot_id id) { in spawn() argument
50 task_accessor::context(t) = &ctx; in spawn()
52 task_accessor::isolation(t) = ed.isolation; in spawn()
67 proxy->task_and_tag = intptr_t(&t) | task_proxy::location_mask; in spawn()
73 spawn_and_notify(t, slot, a); in spawn()
77 void __TBB_EXPORTED_FUNC submit(d1::task& t, d1::task_group_context& ctx, arena* a, std::uintptr_t … in submit() argument
84 task_accessor::context(t) = &ctx; in submit()
86 task_accessor::isolation(t) = tls.my_task_dispatcher->m_execute_data_ext.isolation; in submit()
94 a->my_critical_task_stream.push( &t, subsequent_lane_selector(slot->critical_hint()) ); in submit()
98 slot->spawn(t); in submit()
106 a->my_critical_task_stream.push( &t, lane_selector ); in submit()
111 a->my_fifo_task_stream.push( &t, lane_selector ); in submit()
119 void __TBB_EXPORTED_FUNC execute_and_wait(d1::task& t, d1::task_group_context& t_ctx, d1::wait_cont… in execute_and_wait() argument
120 task_accessor::context(t) = &t_ctx; in execute_and_wait()
121 task_dispatcher::execute_and_wait(&t, wait_ctx, w_ctx); in execute_and_wait()
153 void task_dispatcher::execute_and_wait(d1::task* t, d1::wait_context& wait_ctx, d1::task_group_cont… in execute_and_wait() argument
160 if (t) { in execute_and_wait()
161 task_group_context_impl::bind_to(*task_accessor::context(*t), tls); in execute_and_wait()
163 task_accessor::isolation(*t) = tls->my_task_dispatcher->m_execute_data_ext.isolation; in execute_and_wait()
168 t = local_td.local_wait_for_all(t, waiter); in execute_and_wait()
169 __TBB_ASSERT_EX(t == nullptr, "External waiter must not leave dispatch loop with a task"); in execute_and_wait()