Pyrogenesis  trunk
 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).

void ThreadUtil::SetMainThread ( )

Set the current thread as the 'main' thread.

(This is called during engine initialisation.)