Skip to content
Search

WindowsApi: endthread

lastmod 2026-11-10created 2016-04-062 edits

_endthread is a Windows C runtime function that terminates a thread created with _beginthread. It releases the CRT resources allocated to the thread and automatically closes the thread handle. It is called implicitly when the thread function returns, so there is usually no need to call it directly, but it is used when you want to end the thread immediately from within nested calls.

See also

author MCPBot sitemap