task_resume.html   [plain text]

<strong>Function</strong> - Decrement the target task's suspend count.
<strong>kern_return_t   task_resume</strong>
                <strong>(task_t</strong>         <var>task</var><strong>);</strong>
<dt> <var>task</var> 
[in task send right]
The port to the task to be resumed.
The <strong>task_resume</strong> function decrements the suspend count
for <var>task</var>.  If the task's suspend count goes to zero, the 
function resumes any suspended threads within the task.  To resume 
a given thread, the thread's own suspend count must also be zero.
An attempt to lower the suspend count below zero is ignored.
Only generic errors apply.
<a href="task_create.html"><strong>task_create</strong></a>,
<a href="task_info.html"><strong>task_info</strong></a>,
<a href="task_suspend.html"><strong>task_suspend</strong></a>,
<a href="task_terminate.html"><strong>task_terminate</strong></a>,
<a href="thread_info.html"><strong>thread_info</strong></a>,
<a href="thread_resume.html"><strong>thread_resume</strong></a>,
<a href="thread_suspend.html"><strong>thread_suspend</strong></a>.