---
name: "ExitThread"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ExitThread"
---

# ExitThread(3w)

## NAME

**ExitThread** (KERNEL32.@)

## SYNOPSIS

void ExitThread\
  (\
   DWORD *code*\
  )

## PARAMS

**\[In\]**  Exit *code* for this thread.

## DESCRIPTION

ExitThread \[**KERNEL32**.@\] Ends a thread.

## RETURNS

None

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/thread.c"**.

Debug channel **"thread"**.
