]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>task_resume</h2>\r<hr>\r<p>\r<strong>Function</strong> - Decrement the target task's suspend count.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t task_resume</strong>\r <strong>(task_t</strong> <var>task</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>task</var> \r<dd>\r[in task send right]\rThe port to the task to be resumed.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>task_resume</strong> function decrements the suspend count\rfor <var>task</var>. If the task's suspend count goes to zero, the \rfunction resumes any suspended threads within the task. To resume \ra given thread, the thread's own suspend count must also be zero.\r<h3>NOTES</h3>\r<p>\rAn attempt to lower the suspend count below zero is ignored.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_create.html"><strong>task_create</strong></a>,\r<a href="task_info.html"><strong>task_info</strong></a>,\r<a href="task_suspend.html"><strong>task_suspend</strong></a>,\r<a href="task_terminate.html"><strong>task_terminate</strong></a>,\r<a href="thread_info.html"><strong>thread_info</strong></a>,\r<a href="thread_resume.html"><strong>thread_resume</strong></a>,\r<a href="thread_suspend.html"><strong>thread_suspend</strong></a>.\r |