Back to Darwin Xnu

Processor Set Create

osfmk/man/processor_set_create.html

latest1.3 KB
Original Source

processor_set_create


Function - Create a new processor set object.

SYNOPSIS

**kern\_return\_t processor\_set\_create**** (host\_t **host\_name,** processor\_set\_t **new\_set,** processor\_set\_name\_t **new\_name** );**

PARAMETERS

host_name[in host-name send right] The name (or control) port for the host on which the set is to be created. new_set[out processor-set-control send right] Control port used for performing operations on the new set. new_name[out processor-set-name send right] Name port used to identify the new set and obtain information about it.

DESCRIPTION

The processor_set_create function creates a new processor set and returns the two ports associated with it. The port returned in new_set is the control port representing the set. It is used to perform operations such as assigning processors, tasks or threads. The port returned in new_name is the name port which identifies the set, and is used to obtain information about the set.

RETURN VALUES

Only generic values apply.

Functions: processor_set_destroy, processor_set_info, processor_assign, task_assign, thread_assign.