24 #ifndef PXR_BASE_ARCH_THREADS_H
25 #define PXR_BASE_ARCH_THREADS_H
32 #include "pxr/base/arch/api.h"
36 PXR_NAMESPACE_OPEN_SCOPE
46 PXR_NAMESPACE_CLOSE_SCOPE
48 #endif // PXR_BASE_ARCH_THREADS_H
ARCH_API std::thread::id ArchGetMainThreadId()
Return the std::thread_id for the thread arch considers to be the "main" thread.
ARCH_API bool ArchIsMainThread()
Return true if the calling thread is the main thread, false otherwise.