]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/processor_get_assignment.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / processor_get_assignment.html
CommitLineData
9bccf70c 1<h2>processor_get_assignment</h2>\r<hr>\r<p>\r<strong>Function</strong> - Get current assignment for a processor.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t processor_get_assignment</strong>\r <strong>(processor_t</strong> <var>processor</var>,\r <strong>processor_set_name_t</strong> <var>assigned_set</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<dt> <var>processor</var> \r<dd>\r[in processor send right]\rThe processor whose assignment is desired.\r<dt> <var>new_set</var> \r<dd>\r[out processor-set-name send right]\rThe name port for the processor \rset to which <var>processor</var> is currently assigned.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>processor_get_assignment</strong> function returns the name port for the\rprocessor set to which a desired processor is currently assigned.\r<h3>RETURN VALUES</h3>\r<dl>\r<dt> <strong>KERN_FAILURE</strong>\r<dd>\rProcessor is either shut down of off-line.\r</dl>\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="processor_assign.html">processor_assign</a>,\r<a href="processor_set_create.html">processor_set_create</a>,\r<a href="processor_info.html">processor_info</a>,\r<a href="task_assign.html">task_assign</a>,\r<a href="thread_assign.html">thread_assign</a>.\r