MPMA Framework 0.4
|
Represents a thread. More...
#include <Thread.h>
Public Member Functions | |
Thread (ThreadFunc proc, ThreadParam param) | |
Construct a thread and start it. | |
~Thread () | |
When this object destructs, we block until the thread terminates (if it has not already done so). | |
void | SetPriority (ThreadPriority newPriority) |
Sets the thread to run at a specific priority. | |
bool | IsRunning () const |
Returns true if the thread is still running. | |
bool | IsEnding () const |
Returns true if the thread has been asked to terminate. This is meant for use by the thread proc itself. |
Represents a thread.