]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/thread_assign.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / thread_assign.html
old mode 100755 (executable)
new mode 100644 (file)
index a5e767e..fc10265
@@ -1 +1,42 @@
-<h2>thread_assign</h2>\r<hr>\r<p>\r<strong>Function</strong> - Assign a thread to a processor set.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   thread_assign</strong>\r                <strong>(thread_act_t</strong>                            <var>thread</var>,\r                 <strong>processor_set_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 to be assigned.\r<p>\r<dt> <var>processor_set</var> \r<dd>\r[in processor-set-control send right]\rThe control port for the processor \rset into which the thread is to be assigned.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>thread_assign</strong> function assigns <strong>thread</strong> to the set\r<var>processor_set</var>.  After the\rassignment is completed, the thread executes only on processors\rthat are assigned \rto that processor set.  Any previous assignment of the thread is nullified. \r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="thread_assign_default.html"><strong>thread_assign_default</strong></a>,\r<a href="thread_get_assignment.html"><strong>thread_get_assignment</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_assign</h2>
+<hr>
+<p>
+<strong>Function</strong> - Assign a thread to a processor set.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   thread_assign</strong>
+                <strong>(thread_act_t</strong>                            <var>thread</var>,
+                 <strong>processor_set_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 to be assigned.
+<p>
+<dt> <var>processor_set</var> 
+<dd>
+[in processor-set-control send right]
+The control port for the processor 
+set into which the thread is to be assigned.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>thread_assign</strong> function assigns <strong>thread</strong> to the set
+<var>processor_set</var>.  After the
+assignment is completed, the thread executes only on processors
+that are assigned 
+to that processor set.  Any previous assignment of the thread is nullified. 
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="thread_assign_default.html"><strong>thread_assign_default</strong></a>,
+<a href="thread_get_assignment.html"><strong>thread_get_assignment</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>.