## 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_tprocessor_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.

### RELATED INFORMATION

Functions: host_processor_set_priv, processor_set_create, processor_set_tasks, processor_set_threads.