task_get_assignment


Function - Return the processor set to which a task is assigned.

SYNOPSIS

kern_return_t task_get_assignment
 (task_t task,
 processor_set_name_t processor_set);

PARAMETERS

task
[in task send right] The port for the task whose assignment is desired.
processor_set
[out processor-set-name send right] The name port for the processor set into which the task is assigned.

DESCRIPTION

The task_get_assignment function returns the name port to the processor set to which task is currently assigned. This port can only be used to obtain information about the processor set.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: task_assign, task_assign_default, processor_set_create, processor_set_info, thread_assign.

AltStyle によって変換されたページ (->オリジナル) /