]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/task_assign_default.html
xnu-1228.tar.gz
[apple/xnu.git] / osfmk / man / task_assign_default.html
index d5b66da697edc8dfee93f79a0ddfe8b8b29f907f..b450061959a41769f4db84c779c19ee402b28b6b 100755 (executable)
@@ -1 +1,49 @@
-<h2>task_assign_default</h2>\r<hr>\r<p>\r<strong>Function</strong> - Assign a task to the default processor set.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   task_assign_default</strong>\r                <strong>(task_t</strong>                                    <var>task</var>,\r                 <strong>boolean_t</strong>                       <var>assign_threads</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<dt> <var>task</var> \r<dd>\r[in task send right]\rThe port for the task to be assigned.\r<dt> <var>assign_threads</var> \r<dd>\r[in scalar]\rTrue if this assignment should apply as well to the threads \rwithin the task.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>task_assign_default</strong> function assigns <var>task</var> to the\rdefault processor set.\rAfter the assignment is completed, newly created threads within\rthis task will be \rassigned to this processor set.  Any previous assignment of the\rtask is nullified. \r<p>\rIf <var>assign_threads</var> is <strong>TRUE</strong>, existing threads within the \rtask will also be assigned to the processor set.\r<h3>NOTES</h3>\r<p>\rThis variant of <strong>task_assign</strong> exists because the control\rport for the default\rprocessor set is privileged, and therefore not available to most tasks.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_assign.html"><strong>task_assign</strong></a>,\r<a href="task_get_assignment.html"><strong>task_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="thread_assign.html"><strong>thread_assign</strong></a>.\r
\ No newline at end of file
+<h2>task_assign_default</h2>
+<hr>
+<p>
+<strong>Function</strong> - Assign a task to the default processor set.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   task_assign_default</strong>
+                <strong>(task_t</strong>                                    <var>task</var>,
+                 <strong>boolean_t</strong>                       <var>assign_threads</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<dt> <var>task</var> 
+<dd>
+[in task send right]
+The port for the task to be assigned.
+<dt> <var>assign_threads</var> 
+<dd>
+[in scalar]
+True if this assignment should apply as well to the threads 
+within the task.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>task_assign_default</strong> function assigns <var>task</var> to the
+default processor set.
+After the assignment is completed, newly created threads within
+this task will be 
+assigned to this processor set.  Any previous assignment of the
+task is nullified. 
+<p>
+If <var>assign_threads</var> is <strong>TRUE</strong>, existing threads within the 
+task will also be assigned to the processor set.
+<h3>NOTES</h3>
+<p>
+This variant of <strong>task_assign</strong> exists because the control
+port for the default
+processor set is privileged, and therefore not available to most tasks.
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="task_assign.html"><strong>task_assign</strong></a>,
+<a href="task_get_assignment.html"><strong>task_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="thread_assign.html"><strong>thread_assign</strong></a>.