#include <ThreadClass.h>
Inheritance diagram for RNReplicaNet::ThreadClass:
Public Member Functions | |
ThreadClass () | |
virtual | ~ThreadClass () |
void | Sleep (int milliseconds) |
Protected Member Functions | |
void | DoQuitNow (const int returnCode) |
Friends | |
class | Thread |
|
The ctor performs some basic initialisation |
|
The dtor makes sure everything is tidy |
|
This exits the thread and can only be used in the context of the thread.
|
|
Sleeps the 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.
|