Go to the first, previous, next, last section, table of contents.


Processor Set Destruction

Function: kern_return_t processor_set_destroy (mach_port_t processor_set)
The function processor_set_destroy destroys the specified processor set. Any assigned processors, tasks, or threads are reassigned to the default set. The object port for the processor set is required (not the name port). The default processor set cannot be destroyed.

This function returns KERN_SUCCESS if the set was destroyed, KERN_FAILURE if an attempt was made to destroy the default processor set, or the operating system does not support processor allocation, and KERN_INVALID_ARGUMENT if processor_set is not a valid processor set control port.


Go to the first, previous, next, last section, table of contents.