1 <h2>thread_terminate
</h2>
4 <strong>Function
</strong> - Destroy a thread.
7 <strong>kern_return_t thread_terminate
</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 destroyed.
20 The
<strong>thread_terminate
</strong> function kills
<var>target_thread
</var>.
21 <h3>RETURN VALUES
</h3>
23 Only generic errors apply.
24 <h3>RELATED INFORMATION
</h3>
27 <a href=
"task_terminate.html"><strong>task_terminate
</strong></a>,
28 <a href=
"task_threads.html"><strong>task_threads
</strong></a>,
29 <a href=
"thread_create.html"><strong>thread_create
</strong></a>,
30 <a href=
"thread_resume.html"><strong>thread_resume
</strong></a>,
31 <a href=
"thread_suspend.html"><strong>thread_suspend
</strong></a>.