#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 | SetPriorityLow (bool isLowPriority) |
Toggles a thread between normal and low 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. |