GetCurrentThreadId
Returns the identifier of the calling thread.
Module: Windows
Microsoft documentation: GetCurrentThreadId
Signature
rux
func GetCurrentThreadId() -> uint32;Returns
uint32 — the current thread identifier. Windows may reuse the identifier after the thread terminates.
See also
GetCurrentProcessId— calling process identifierProcess and thread— process API overview