Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
ThreadUtil Namespace Reference

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...
 

Function Documentation

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.