4 <strong>Function
</strong> - Resume a thread.
7 <strong>kern_return_t thread_resume
</strong>
8 <strong>(thread_act_t
</strong> <var>target_thread
</var><strong>);
</strong>
13 <dt> <var>target_thread
</var>
15 [in thread send right]
16 The thread to be resumed.
20 The
<strong>thread_resume
</strong> function decrements the suspend count
21 for
<var>target_thread
</var>
22 by one. The thread is resumed if its suspend count goes to zero.
24 count is still positive,
<strong>thread_resume
</strong> must be repeated
25 until the count reaches
29 An attempt to lower the suspend count below zero is ignored.
30 <h3>RETURN VALUES
</h3>
32 Only generic errors apply.
33 <h3>RELATED INFORMATION
</h3>
36 <a href=
"task_resume.html"><strong>task_resume
</strong></a>,
37 <a href=
"task_suspend.html"><strong>task_suspend
</strong></a>,
38 <a href=
"thread_create.html"><strong>thread_create
</strong></a>,
39 <a href=
"thread_info.html"><strong>thread_info
</strong></a>,
40 <a href=
"thread_suspend.html"><strong>thread_suspend
</strong></a>,
41 <a href=
"thread_terminate.html"><strong>thread_terminate
</strong></a>.