Back to Darwin Xnu

Thread Terminate

osfmk/man/thread_terminate.html

latest617 B
Original Source

thread_terminate


Function - Destroy a thread.

SYNOPSIS

**kern\_return\_t thread\_terminate**** (thread\_act\_t **target\_thread** );**

PARAMETERS

target_thread[in thread send right] The thread to be destroyed.

DESCRIPTION

The thread_terminate function kills target_thread.

RETURN VALUES

Only generic errors apply.

Functions: task_terminate, task_threads, thread_create, thread_resume, thread_suspend.