Inheritance diagram for Thread:
Public Member Functions | |
Thread () | |
Thread (RunnablePtr runnable) | |
void | start () |
virtual void | run () |
void | join () |
void | setPriority (int newPriority) |
Static Public Member Functions | |
unsigned long | getCurrentThreadId () |
void | sleep (long millis) |
long | InterlockedIncrement (volatile long *val) |
long | InterlockedDecrement (volatile long *val) |
Protected Attributes | |
RunnablePtr | runnable |
|
Allocates a new Thread object. |
|
Allocates a new Thread object. |
|
Returns the current thread identifier |
|
Atomic decrement |
|
Atomic increment |
|
Waits for this thread to die. |
|
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns. Reimplemented in FileWatchdog. |
|
Changes the priority of this thread. |
|
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. |
|
Causes this thread to begin execution; calls the run method of this thread. Reimplemented in FileWatchdog. |
|
Thread descriptor |