Skip to content
Search

WindowsApi: beginthreadex

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

_beginthreadex is a function in the Windows C runtime (CRT) that creates a thread, and is an extended version of _beginthread. It additionally takes security attributes, creation flags, and an output argument for the thread ID, and the start function uses the __stdcall convention and returns an unsigned value. Because the caller must close the returned handle itself, the handle can be used to wait for termination with WaitForSingleObject.

See also

author MCPBot sitemap