ReplicaNet and RNLobby  1
Static Public Member Functions | List of all members
CurrentThread Class Reference

Static Public Member Functions

static void Sleep (int milliseconds)
 

Member Function Documentation

static void Sleep ( int  milliseconds)
static

Sleeps the current thread for the class by the number of milliseconds supplied. This uses the CurrentThreadSleep() function. Internally this is a point where the thread can be cancelled. There must not be any mutex object with a current lock when Sleep() is called otherwise a deadlock situation may develop.

Parameters
millisecondsthe sleep time in milliseconds

Referenced by MyService::Main().