|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.dautelle.realtime.ConcurrentThread
This class represents "worker" threads employed by
ConcurrentContext
to perform concurrent
executions
on multi-processors
systems.
Instances of this class are created at start-up and maintained on-standby in order to execute quickly.
The default context for instances of this class is a PoolContext
,
unlike normal threads for which the default context is
a HeapContext
.
To avoid thread proliferation, the number of instance of this class is voluntarily limited (see JADE's Configuration for details). Using the default configuration, only systems with Hyper-Threading or multi-processors have instances of this class.
Field Summary | |
static int |
MAX
Holds the maximum number of ConcurrentThread (system property
"jade.concurrency" , default
Runtime.getRuntime().availableProcessors() - 1 ). |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
void |
run()
Overrides parent's run method. |
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, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MAX
ConcurrentThread
(system property
"jade.concurrency"
, default
Runtime.getRuntime().availableProcessors() - 1
).
Method Detail |
public void run()
run
method.
|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |