]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>thread_resume</h2>\r<hr>\r<p>\r<strong>Function</strong> - Resume a thread.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t thread_resume</strong>\r <strong>(thread_act_t</strong> <var>target_thread</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>target_thread</var> \r<dd>\r[in thread send right]\rThe thread to be resumed.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>thread_resume</strong> function decrements the suspend count\rfor <var>target_thread</var> \rby one. The thread is resumed if its suspend count goes to zero.\rIf the suspend \rcount is still positive, <strong>thread_resume</strong> must be repeated\runtil the count reaches \rzero.\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_resume.html"><strong>task_resume</strong></a>,\r<a href="task_suspend.html"><strong>task_suspend</strong></a>,\r<a href="thread_create.html"><strong>thread_create</strong></a>,\r<a href="thread_info.html"><strong>thread_info</strong></a>,\r<a href="thread_suspend.html"><strong>thread_suspend</strong></a>,\r<a href="thread_terminate.html"><strong>thread_terminate</strong></a>.\r |