#include <Thread.unix.h>
Collaboration diagram for Thread:

Public Methods | |
| Thread () | |
| Default constructor. | |
| virtual | ~Thread () |
| bool | isActive () |
| True iff the thread is running. | |
| virtual void * | run ()=0 |
| Synchronously run the thread. | |
| void * | start () |
| Asynchronously run the thread. More... | |
| void | join () |
| Synchronize with the thread. More... | |
| Thread () | |
| Default constructor. | |
| virtual | ~Thread () |
| bool | isActive () |
| True iff the thread is running. | |
| virtual void * | run ()=0 |
| Synchronously run the thread. | |
| void * | start () |
| Asynchronously run the thread. | |
| void | join () |
| Synchronize with the thread. | |
Friends | |
| void * | threadFunc (void *obj) |
| Function to be run in OS thread. More... | |
| DWORD | threadFunc (void *obj) |
| Function to be run in OS thread. More... | |
The Thread class abstracts from the OS dependent thread calls. Currently two versions exists: one based on WIN32 and one on POSIX MT.
|
|
Synchronize with the thread. Wait for the thread to complete.
|
|
|
Asynchronously run the thread. Creates a OS thread and call Thread::run in it.
|
|
|
Function to be run in OS thread. Runs the Thread::run method in a seperate thread.
|
|
|
Function to be run in OS thread. Runs the Thread::run method in a seperate thread.
|