A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
Parallel Class Reference
+ Collaboration diagram for Parallel:

Public Member Functions

void Close ()
 
void ForLoop (int start, int stop, int stepLength, ForLoopBody loopBody, bool close)
 
delegate void ForLoopBody (int i)
 

Static Public Member Functions

static void For (int start, int stop, ForLoopBody loopBody)
 
static void For (int start, int stop, int stepLength, ForLoopBody loopBody)
 
static void For (int start, int stop, int stepLength, ForLoopBody loopBody, bool close)
 

Static Public Attributes

static int iterationStepLength = 10
 
static int threadsCount = 2
 

Private Member Functions

void Initialize ()
 
void WorkerThread (object index)
 

Private Attributes

int currentIndex
 
Parallel Instance
 
AutoResetEvent[] jobAvailable
 
ForLoopBody loopBody
 
int step = 1
 
int stopIndex
 
ManualResetEvent[] threadIdle
 
Thread[] threads
 

Static Private Attributes

static System.Object sync = new System.Object ()
 

The documentation for this class was generated from the following file: