Back to Darwin Xnu

Processor Set Destroy

osfmk/man/processor_set_destroy.html

latest878 B
Original Source

processor_set_destroy


Function - Destroy the target processor set object.

SYNOPSIS

**kern\_return\_t processor\_set\_destroy**** (processor\_set\_t **processor\_set** );**

PARAMETERS

processor_set[in processor-set-control send right] The control port for the processor set to be destroyed.

DESCRIPTION

The processor_set_destroy function destroys the specified processor set. Any assigned processors, tasks or threads are re-assigned to the default set. The object port (not the name port) for the processor set is required.

RETURN VALUES

KERN_DEFAULT_SET An attempt was made to destroy the default processor set.

Functions: processor_set_create, processor_assign, task_assign, thread_assign.