Back to Darwin Xnu

Processor Set Tasks

osfmk/man/processor_set_tasks.html

latest1.0 KB
Original Source

processor_set_tasks


Function - Return a list of pointers to all tasks currently assigned to the target processor set.

SYNOPSIS

**kern\_return\_t processor\_set\_tasks**** (processor\_set\_t **processor\_set,** task\_port\_array\_t **task\_list,** mach\_msg\_type\_number\_t\ ***task\_count** );**

PARAMETERS

processor_set[in processor-set-control send right] A processor set control port for which information is desired. task_list[out pointer to dynamic array of task send rights] The returned set of ports naming the tasks currently assigned to processor_set. task_count[out scalar] The number of tasks returned in task_list.

DESCRIPTION

The processor_set_tasks function returns send rights to the kernel ports for each task currently assigned to processor_set.

RETURN VALUES

Only generic errors apply.

Functions: processor_set_threads, task_assign, thread_assign.