|
DRCL JavaSim API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AWorkerThread | |
| drcl.comp | |
| drcl.sim.process | |
| Uses of AWorkerThread in drcl.comp |
| Methods in drcl.comp that return AWorkerThread | |
protected AWorkerThread |
ARuntime.grabOne()
Grabs a AWorkerThread from recycling pool, creates one if necessary. |
protected AWorkerThread |
ARuntime.newThread()
For subclasses to provide its own worker thread class. |
AWorkerThread |
ARuntime.getWorkingThread(int index_)
Returns the worker thread, for diagnosis |
protected AWorkerThread[] |
ARuntime.getWorkingThreads()
|
| Methods in drcl.comp with parameters of type AWorkerThread | |
protected void |
ARuntime.recycle(AWorkerThread thread_)
Used by AWorkerThread to return itself to the pool. |
protected void |
ARuntime.threadStateChange(AWorkerThread thread_,
java.lang.String oldState_,
java.lang.String newState_)
|
void |
ARuntime.print(java.lang.String which_,
AWorkerThread current_,
java.lang.String msg_)
|
void |
ARuntime.println(java.lang.String which_,
AWorkerThread current_,
java.lang.String msg_)
|
protected void |
ARuntime.threadBecomesWaiting(AWorkerThread exe_)
|
protected boolean |
ARuntime.threadRequestsSleeping(AWorkerThread exe_,
double time_)
Subclasses should override this method to handle the event when a workerthread requests to become waiting. |
protected void |
ARuntime.systemBecomesIdle(AWorkerThread exe_)
Subclasses should override this method to handle the event when all workerthreads in the system become either waiting or idle. |
| Uses of AWorkerThread in drcl.sim.process |
| Methods in drcl.sim.process with parameters of type AWorkerThread | |
protected void |
SMMTSimulator.systemBecomesIdle(AWorkerThread exe_)
|
|
DRCL JavaSim API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||