Pyrogenesis
13997
|
Functions | |
bool | IsMainThread () |
Returns whether the current thread is the 'main' thread (i.e. More... | |
void | SetMainThread () |
Set the current thread as the 'main' thread. More... | |
bool ThreadUtil::IsMainThread | ( | ) |
Returns whether the current thread is the 'main' thread (i.e.
matches an earlier call to SetMainThread).
Definition at line 25 of file ThreadUtil.cpp.
void ThreadUtil::SetMainThread | ( | ) |
Set the current thread as the 'main' thread.
(This is called during engine initialisation.)
Definition at line 35 of file ThreadUtil.cpp.