edu.rit.pj
Class WorkerForLoop
- java.lang.Object
-
- edu.rit.pj.WorkerConstruct
-
- edu.rit.pj.WorkerForLoop
-
- Direct Known Subclasses:
- WorkerIntegerForLoop, WorkerIntegerStrideForLoop, WorkerLongForLoop, WorkerLongStrideForLoop
public abstract class WorkerForLoop extends WorkerConstruct
Class WorkerForLoop is the abstract base class for a worker for loop that is executed inside a WorkerRegion. There are four variations of a worker for loop, depending on the loop index data type and on whether the loop stride is implicit or explicit. There is a subclass for each variation; see the subclasses for further information. The subclasses are:- Class WorkerIntegerForLoop -- loop index is type int, loop stride is implicit (+1).
- Class WorkerIntegerStrideForLoop -- loop index is type int, loop stride is explicitly specified.
- Class WorkerLongForLoop -- loop index is type long, loop stride is implicit (+1).
- Class WorkerLongStrideForLoop -- loop index is type long, loop stride is explicitly specified.
-
-
Constructor Summary
Constructors Constructor and Description WorkerForLoop()Construct a new worker for loop.
-
Method Summary
-
Methods inherited from class edu.rit.pj.WorkerConstruct
getThreadCount, getThreadIndex, getTotalThreadCount, isExecutingInParallel, isMasterThread, region, team
-
-
DMelt 3.0 © DataMelt by jWork.ORG