|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
drcl.comp.WorkerThread
drcl.sim.event.SEThreadOld
SESimulatorOld| Field Summary | |
protected SESimulatorOld |
aruntime
The worker runtime of this thread. |
protected java.lang.Object |
sleepOn
The object that this thread waits on. |
| Fields inherited from class drcl.comp.WorkerThread |
currentContext, mainContext, returnPort, runtime, state, State_ACTIVE, State_FINISHING, State_INACTIVE, State_SLEEPING, State_WAITING, totalNumEvents |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
SEThreadOld()
|
|
SEThreadOld(java.lang.String name_)
|
|
| Method Summary | |
java.lang.String |
_toString()
|
java.lang.String |
info(java.lang.String prefix_)
|
protected void |
lock(Component host_,
java.lang.Object o_)
|
protected void |
notify(Component host_,
java.lang.Object o_)
|
protected void |
notifyAll(Component host_,
java.lang.Object o_)
|
protected void |
releaseAllLocks(Component host_)
|
void |
run()
Standard Thread.run(). |
protected void |
setState(java.lang.String new_)
|
void |
sleepFor(double time_)
|
void |
sleepUntil(double time_)
|
protected void |
unlock(Component host_,
java.lang.Object o_,
boolean release_)
|
protected void |
wait(Component host_,
java.lang.Object o_)
|
protected void |
yieldToRuntime()
|
| Methods inherited from class drcl.comp.WorkerThread |
_debug, _getName, finishing, getNumEvents, getState, getTime, info, isOrphan, isWaiting, resumeComponent, startComponent, stopComponent, toString, unlock |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected SESimulatorOld aruntime
protected transient java.lang.Object sleepOn
| Constructor Detail |
public SEThreadOld()
public SEThreadOld(java.lang.String name_)
| Method Detail |
public java.lang.String info(java.lang.String prefix_)
info in class WorkerThreadpublic java.lang.String _toString()
public void run()
public final void sleepFor(double time_)
sleepFor in class WorkerThreadpublic final void sleepUntil(double time_)
sleepUntil in class WorkerThread
protected final void lock(Component host_,
java.lang.Object o_)
lock in class WorkerThread
protected void unlock(Component host_,
java.lang.Object o_,
boolean release_)
unlock in class WorkerThreadprotected void releaseAllLocks(Component host_)
releaseAllLocks in class WorkerThread
protected final void wait(Component host_,
java.lang.Object o_)
wait in class WorkerThread
protected void notify(Component host_,
java.lang.Object o_)
notify in class WorkerThread
protected final void notifyAll(Component host_,
java.lang.Object o_)
notifyAll in class WorkerThreadprotected void yieldToRuntime()
yieldToRuntime in class WorkerThreadprotected final void setState(java.lang.String new_)
setState in class WorkerThread
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||