Lines Matching defs:task
57 #include <mach/task.h>
69 #include <kern/task.h>
297 task_t task = current_task();
313 * already, which include non-lazily creating the task map. So we
314 * are going to switch out the task map with one appropriate for the
323 pmap = pmap_create(get_task_ledger(task), (vm_map_size_t) 0,
405 * task, and it's correct to halt it; if it's spawn, the
406 * task is not yet running, and it makes no sense.
410 * Mark the task as halting and start the other
415 * task halting (wait for threads and then cleanup
416 * task resources).
419 * threads are created in the task during the transition.
428 kret = task_start_halt(task);
434 task_complete_halt(task);