#include <Thread.h>
Collaboration diagram for RNReplicaNet::Thread:
Public Member Functions | |
Thread () | |
virtual | ~Thread () |
void | Begin (ThreadClass *threaded_class) |
void | Terminate (void) |
bool | GetIsRunning (void) const |
Static Public Member Functions | |
static int | CallThreadEntry (ThreadClass *thread_class) |
|
The ctor performs some basic initialisation |
|
The dtor makes sure everything is tidy |
|
This begins the thread in the specified ThreadClass class. Execution begins from ThreadClass::ThreadEntry()
|
|
This is a static method where the class starts its thread from
|
|
Gets the execution status of the thread
|
|
Terminates the thread of the class bound to this Thread. The caller must not be in the context of the running thread. |