|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
javax.media.j3d.TimerThread
class TimerThread
The TimerThread is thread that handle WakeupOnElapsedTime call. There is only one thread for the whole system.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private WakeupOnElapsedTimeHeap |
heap
|
private WakeupOnElapsedTime |
inputDeviceSchedCond
|
private static int |
NOTIFY
|
private boolean |
ready
|
private boolean |
running
|
private WakeupOnElapsedTime |
soundSchedCond
|
private static int |
STOP
|
private static int |
WAIT
|
private boolean |
waiting
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
TimerThread(java.lang.ThreadGroup t)
|
Method Summary | |
---|---|
(package private) void |
add(WakeupOnElapsedTime wakeup)
|
(package private) void |
addInputDeviceSchedCond()
|
(package private) void |
addSoundSchedCond(long wakeupTime)
|
(package private) void |
finish()
|
(package private) void |
remove(WakeupOnElapsedTime w)
|
void |
run()
|
(package private) void |
runMonitor(int action,
long waitTime)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final int WAIT
private static final int NOTIFY
private static final int STOP
private WakeupOnElapsedTimeHeap heap
private WakeupOnElapsedTime inputDeviceSchedCond
private WakeupOnElapsedTime soundSchedCond
private volatile boolean running
private boolean waiting
private boolean ready
Constructor Detail |
---|
TimerThread(java.lang.ThreadGroup t)
Method Detail |
---|
void add(WakeupOnElapsedTime wakeup)
void addInputDeviceSchedCond()
void addSoundSchedCond(long wakeupTime)
void finish()
void remove(WakeupOnElapsedTime w)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
void runMonitor(int action, long waitTime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |