|
|
Thread Class ReferenceInheritance diagram for Thread:
[legend]Collaboration diagram for Thread:
[legend]List of all members.
Detailed Description
A thread is a thread of execution in a program.
Constructor & Destructor Documentation
|
Allocates a new Thread object. |
|
Allocates a new Thread object. |
Member Function Documentation
unsigned long getCurrentThreadId |
( |
|
) |
[static] |
|
|
Returns the current thread identifier |
long InterlockedDecrement |
( |
volatile long * |
val |
) |
[static] |
|
long InterlockedIncrement |
( |
volatile long * |
val |
) |
[static] |
|
|
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. |
void setPriority |
( |
int |
newPriority |
) |
|
|
|
Changes the priority of this thread. |
void sleep |
( |
long |
millis |
) |
[static] |
|
|
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. |
Member Data Documentation
The documentation for this class was generated from the following files:
|
|
Copyright © 1999-2004, Apache Software Foundation
|