Function - Destroy a thread.
kern_return_t thread_terminate (thread_act_t target_thread);
The thread_terminate function kills target_thread.
Only generic errors apply.
Functions: task_terminate, task_threads, thread_create, thread_resume, thread_suspend.