1 <h2>task_assign_default
</h2>
4 <strong>Function
</strong> - Assign a task to the default processor set.
7 <strong>kern_return_t task_assign_default
</strong>
8 <strong>(task_t
</strong> <var>task
</var>,
9 <strong>boolean_t
</strong> <var>assign_threads
</var><strong>);
</strong>
16 The port for the task to be assigned.
17 <dt> <var>assign_threads
</var>
20 True if this assignment should apply as well to the threads
25 The
<strong>task_assign_default
</strong> function assigns
<var>task
</var> to the
26 default processor set.
27 After the assignment is completed, newly created threads within
29 assigned to this processor set. Any previous assignment of the
32 If
<var>assign_threads
</var> is
<strong>TRUE
</strong>, existing threads within the
33 task will also be assigned to the processor set.
36 This variant of
<strong>task_assign
</strong> exists because the control
38 processor set is privileged, and therefore not available to most tasks.
39 <h3>RETURN VALUES
</h3>
41 Only generic errors apply.
42 <h3>RELATED INFORMATION
</h3>
45 <a href=
"task_assign.html"><strong>task_assign
</strong></a>,
46 <a href=
"task_get_assignment.html"><strong>task_get_assignment
</strong></a>,
47 <a href=
"processor_set_create.html"><strong>processor_set_create
</strong></a>,
48 <a href=
"processor_set_info.html"><strong>processor_set_info
</strong></a>,
49 <a href=
"thread_assign.html"><strong>thread_assign
</strong></a>.