Return the current thread id, as used in various OS system calls.
Synopsis
Declared in <llvm/Support/Threading.h>
uint64_t
get_threadid();
Description
Note that not all platforms guarantee that the value returned will be unique across the entire system, so portable code should not assume this.
Return Value
OS‐level identifier for the calling thread.
Created with MrDocs