Function - Get current assignment for a processor.
kern_return_t processor_get_assignment (processor_t processor, processor_set_name_t assigned_set);
The processor_get_assignment function returns the name port for the processor set to which a desired processor is currently assigned.
Functions: processor_assign, processor_set_create, processor_info, task_assign, thread_assign.