## 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.

### RELATED INFORMATION

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