---
title: IOExitThread
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: kernel/1575306-ioexitthread
---

# IOExitThread

Deprecated function - use thread_terminate(). Terminate execution of current thread.

## Declaration

```occ
void IOExitThread(void);
```

## Discussion

Discussion This function destroys the currently running thread, and does not return.
