Function - Assign a thread to the default processor set.
kern_return_t thread_assign_default (thread_act_t thread);
The thread_assign_default function assigns thread to the default processor set. After the assignment is completed, the thread executes only on processors that are assigned to that processor set. Any previous assignment of the thread is nullified.
This variant of thread_assign exists because the control port for the default processor set is privileged, and therefore not available to most tasks.
Only generic errors apply.
Functions: thread_assign, thread_get_assignment, processor_set_create, processor_set_info, task_assign.