Next: Thread Information, Previous: Thread Creation, Up: Thread Interface [Contents][Index]
The function thread_terminate destroys the thread specified by
target_thread.
The function returns KERN_SUCCESS if the thread has been killed
and KERN_INVALID_ARGUMENT if target_thread is not a thread.