]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/thread_get_assignment.html
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / man / thread_get_assignment.html
index ad6c4171c23010d4734a300026ab81ea1c0069b2..c29410d0998f1abc3830f8e2e7faad87e92dc770 100755 (executable)
@@ -1 +1,40 @@
-<h2>thread_get_assignment</h2>\r<hr>\r<p>\r<strong>Function</strong> - Return the processor set to which a thread is assigned.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   thread_get_assignment</strong>\r                <strong>(thread_act_t</strong>                            <var>thread</var>,\r                 <strong>processor_set_name_t</strong>             <var>processor_set</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>thread</var> \r<dd>\r[in thread send right]\rThe thread whose assignment is desired.\r<p>\r<dt> <var>processor_set</var> \r<dd>\r[out processor-set-name send right]\rThe name port for the processor \rset into which the thread is assigned.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>thread_get_assignment</strong> function returns the name\rport to the processor set to which <var>thread</var> is currently assigned.  \rThis port can only be used to obtain information about the processor set.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="thread_assign.html"><strong>thread_assign</strong></a>,\r<a href="thread_assign_default.html"><strong>thread_assign_default</strong></a>,\r<a href="processor_set_create.html"><strong>processor_set_create</strong></a>,\r<a href="processor_set_info.html"><strong>processor_set_info</strong></a>,\r<a href="task_assign.html"><strong>task_assign</strong></a>.\r
\ No newline at end of file
+<h2>thread_get_assignment</h2>
+<hr>
+<p>
+<strong>Function</strong> - Return the processor set to which a thread is assigned.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   thread_get_assignment</strong>
+                <strong>(thread_act_t</strong>                            <var>thread</var>,
+                 <strong>processor_set_name_t</strong>             <var>processor_set</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<p>
+<dt> <var>thread</var> 
+<dd>
+[in thread send right]
+The thread whose assignment is desired.
+<p>
+<dt> <var>processor_set</var> 
+<dd>
+[out processor-set-name send right]
+The name port for the processor 
+set into which the thread is assigned.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>thread_get_assignment</strong> function returns the name
+port to the processor set to which <var>thread</var> is currently assigned.  
+This port can only be used to obtain information about the processor set.
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="thread_assign.html"><strong>thread_assign</strong></a>,
+<a href="thread_assign_default.html"><strong>thread_assign_default</strong></a>,
+<a href="processor_set_create.html"><strong>processor_set_create</strong></a>,
+<a href="processor_set_info.html"><strong>processor_set_info</strong></a>,
+<a href="task_assign.html"><strong>task_assign</strong></a>.