|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.VMThread
class VMThread
| Field Summary | |
|---|---|
(package private) static Thread.State[] |
STATE_MAP
Holds a mapping from native Thread statii to Java one. |
(package private) Thread |
thread
|
(package private) int |
vmData
|
| Constructor Summary | |
|---|---|
VMThread(Thread t)
|
|
| Method Summary | |
|---|---|
(package private) static void |
create(Thread t,
long stacksize)
|
(package private) static Thread |
currentThread()
|
(package private) int |
getStatus()
|
(package private) boolean |
holdsLock(Object object)
Queries whether this Thread holds a monitor lock on the given object. |
(package private) void |
interrupt()
|
(package private) static boolean |
interrupted()
|
(package private) boolean |
isInterrupted()
|
(package private) void |
nameChanged(String newName)
Tell the VM that the thread's name has changed. |
(package private) void |
resume()
Resumes the Thread, assuming it is suspended. |
(package private) void |
setPriority(int newPriority)
|
(package private) static void |
sleep(long msec,
int nsec)
|
(package private) void |
start(long stacksize)
Starts the VMThread (and thus the Java Thread) with the given stacksize. |
(package private) void |
stop(Throwable throwable)
Stops the Thread, passing it a Throwable (which might be ThreadDeath). |
(package private) void |
suspend()
Suspends the Thread. |
(package private) static void |
yield()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Thread thread
int vmData
static final Thread.State[] STATE_MAP
| Constructor Detail |
|---|
VMThread(Thread t)
| Method Detail |
|---|
static void create(Thread t,
long stacksize)
static Thread currentThread()
static boolean interrupted()
static void sleep(long msec,
int nsec)
throws InterruptedException
InterruptedExceptionstatic void yield()
void interrupt()
boolean isInterrupted()
void start(long stacksize)
stacksize - The desired stacksize.void suspend()
void resume()
boolean holdsLock(Object object)
void stop(Throwable throwable)
void setPriority(int newPriority)
int getStatus()
void nameChanged(String newName)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||