Lines Matching refs:task
27 /** Space used to store task for each worker (accessed as a stack) */
49 /** Start the main task */
146 // alloc task stack space for all workers, leave space for alignment
196 static inline tweed_task_func_t steal_task(struct generic_task_desc * task,
199 tweed_task_func_t func = task->f.func;
200 int success = cmpxchg128((uint64_t *)&(task->f.func),
205 task->balarm = TWEED_TASK_STOLEN;
207 tweed_task_func_t func = task->f.func;
208 task->thief = thief;
216 /** Initializes _tweed_top_ to start of this worker's task block
229 /** Called when a worker spawns its first task to set its bot value so other
243 /** Called when a worker spawns its first task to set its bot value so other
251 /** Steal work from another worker's task stack */
263 // try to steal task
275 // we have stolen the task, update bot
279 // and run task
285 // signal task completion
295 /** Check if syncing task really is stolen */
328 /** Handle stolen task */