Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::Runtime Namespace Reference

Namespaces

namespace  detail
 

Functions

const std::thread::id & mainThreadID () noexcept
 
void mainThreadID (const std::thread::id &threadID) noexcept
 
bool resetMainThreadID () noexcept
 
bool isMainThread () noexcept
 

Function Documentation

◆ isMainThread()

bool Divide::Runtime::isMainThread ( )
inlinenoexcept

Definition at line 37 of file PlatformRuntime.inl.

◆ mainThreadID() [1/2]

const std::thread::id & Divide::Runtime::mainThreadID ( )
noexcept

Definition at line 14 of file PlatformRuntime.cpp.

◆ mainThreadID() [2/2]

void Divide::Runtime::mainThreadID ( const std::thread::id &  threadID)
noexcept

Definition at line 19 of file PlatformRuntime.cpp.

◆ resetMainThreadID()

bool Divide::Runtime::resetMainThreadID ( )
noexcept

Definition at line 24 of file PlatformRuntime.cpp.