ezEngine  Milestone 7
ezThreadUtils Class Reference

Contains general thread functions. More...

#include <ThreadUtils.h>

Static Public Member Functions

static void YieldTimeSlice ()
 Suspends execution of the current thread.
static void Sleep (ezUInt32 uiMilliSeconds)
 Suspends the execution of the current thread for the given amount of time. (Precision may vary according to OS)
static bool IsMainThread ()
 Helper function to check if the current thread is the main thread (e.g. the thread which initialized the foundation library)
static ezThreadID GetCurrentThreadID ()
 Returns an identifier for the currently running thread.

Private Member Functions


Static Private Member Functions

static void Initialize ()
 Initialization functionality of the threading system (called by foundation startup and thus private)

Detailed Description

Contains general thread functions.

The documentation for this class was generated from the following files: