]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/thread_terminate.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / thread_terminate.html
CommitLineData
9bccf70c 1<h2>thread_terminate</h2>\r<hr>\r<p>\r<strong>Function</strong> - Destroy a thread.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t thread_terminate</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 destroyed.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>thread_terminate</strong> function kills <var>target_thread</var>.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="task_terminate.html"><strong>task_terminate</strong></a>,\r<a href="task_threads.html"><strong>task_threads</strong></a>,\r<a href="thread_create.html"><strong>thread_create</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