# ThreadTerminate()

Stops processing of the thread specified in the name attribute.

If you terminate a thread, the thread scope includes an ERROR metadata structure with information about the termination. (optional, default=run)

```
ThreadTerminate( name=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| name | string | Yes | The name of the thread to stop. |  |

# Examples

*There are currently no examples for this function*







# Categories

[Threads](../../categories/thread.md)

# See Also

[ThreadInterrupt()](threadinterrupt.md), [ThreadJoin()](threadjoin.md), [<cfthread>](../tags/thread.md)