Public Methods | |
thread () | |
Constructor (does not launch the thread; for that use start()). More... | |
virtual | ~thread () |
Destructor. More... | |
void | start () |
Starts the thread by invoking run() in the new thread. More... | |
void | join () |
Blocks until the thread is finished. More... | |
Static Public Methods | |
void | sleep (ntime duration) |
Sleeps for a certain duration. More... | |
Protected Methods | |
virtual void | run ()=0 |
|
Constructor (does not launch the thread; for that use start()).
|
|
Destructor.
|
|
Blocks until the thread is finished. To be invoked only from a different thread than this one. |
|
|
|
Sleeps for a certain duration.
|
|
Starts the thread by invoking run() in the new thread.
|