Function - Return a list of pointers to all threads currently assigned to the target processor set.
kern_return_t processor_set_threads (processor_set_t processor_set, thread_port_array_t thread_list, mach_msg_type_number_t* thread_count);
The processor_set_threads function returns send rights to the kernel ports for each thread currently assigned to processor_set.
Only generic errors apply.
Functions: processor_set_tasks, task_assign, thread_assign.