JADE v6.1

com.dautelle.realtime
Class ConcurrentThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.dautelle.realtime.ConcurrentThread
All Implemented Interfaces:
java.lang.Runnable

public final class ConcurrentThread
extends java.lang.Thread

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.

Version:
6.0, May 1, 2004
Author:
Jean-Marie Dautelle

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

MAX

public static final int MAX
Holds the maximum number of ConcurrentThread (system property "jade.concurrency", default Runtime.getRuntime().availableProcessors() - 1).

Method Detail

run

public void run()
Overrides parent's run method.


JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.