Back to Darwin Xnu

Processor Get Assignment

osfmk/man/processor_get_assignment.html

latest940 B
Original Source

processor_get_assignment


Function - Get current assignment for a processor.

SYNOPSIS

**kern\_return\_t processor\_get\_assignment**** (processor\_t **processor,** processor\_set\_name\_t **assigned\_set** );**

PARAMETERS

processor[in processor send right] The processor whose assignment is desired. new_set[out processor-set-name send right] The name port for the processor set to which processor is currently assigned.

DESCRIPTION

The processor_get_assignment function returns the name port for the processor set to which a desired processor is currently assigned.

RETURN VALUES

KERN_FAILURE Processor is either shut down of off-line.

Functions: processor_assign, processor_set_create, processor_info, task_assign, thread_assign.