Back to Darwin Xnu

Host Processor Sets

osfmk/man/host_processor_sets.html

latest1.3 KB
Original Source

host_processor_sets


Function - Return a list of send rights representing all processor set name ports.

SYNOPSIS

**kern\_return\_t host\_processor\_sets**** (host\_priv\_t **host\_priv,** processor\_set\_name\_port\_array\_t **processor\_set\_name\_list,** host\_priv **processor\_set\_name\_count** );**

PARAMETERS

host_priv[in host-control send right] The control port for the host for which the processor sets are desired.

processor_set_name_list[out pointer to dynamic array of processor-set-name send rights] The set of processor set name ports for those currently existing on host_priv; no particular order is guaranteed.

processor_set_name_count[out scalar] The number of processor set names returned.

DESCRIPTION

The host_processor_sets function returns send rights for the name ports for each processor set currently existing on host.

NOTES

If control ports to the processor sets are needed, use host_processor_set_priv.

RETURN VALUES

Only generic errors apply.

Functions: host_processor_set_priv, processor_set_create, processor_set_tasks, processor_set_threads.