gloox
1.1-svn
|
#include <thread.h>
Inherited by AsyncDNSWorker.
Public Member Functions | |
Thread () | |
virtual | ~Thread () |
void | start () |
void | join () |
Protected Member Functions | |
virtual void | run ()=0 |
A simple wrapper around the platform's native thread implementation.
Thread | ( | ) |
Constructs a new wrapper.
Definition at line 96 of file thread.cpp.
|
virtual |
Virtual destructor.
Definition at line 101 of file thread.cpp.
void join | ( | ) |
Joins the thread with the calling thread, i.e. waits for the thread's termination.
Definition at line 112 of file thread.cpp.
|
protectedpure virtual |
Reimplement this function to customize the thread. The thread will exit when this function exits.
void start | ( | ) |
Starts the thread.
Definition at line 106 of file thread.cpp.