All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
threads.h File Reference

Architecture-specific thread function calls. More...

+ Include dependency graph for threads.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ARCH_API bool ArchIsMainThread ()
 Return true if the calling thread is the main thread, false otherwise. More...
 
ARCH_API std::thread::id ArchGetMainThreadId ()
 Return the std::thread_id for the thread arch considers to be the "main" thread. More...
 

Detailed Description

Architecture-specific thread function calls.

Definition in file threads.h.

Function Documentation

ARCH_API std::thread::id ArchGetMainThreadId ( )

Return the std::thread_id for the thread arch considers to be the "main" thread.