Go to the first, previous, next, last section, table of contents.


Thread Termination

Function: kern_return_t thread_terminate (mach_port_t target_thread)
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.


Go to the first, previous, next, last section, table of contents.