Uses of Class
edu.rit.pj.ParallelSection
Packages that use ParallelSection
Package
Description
The PJ package (Parallel Java) support shared memory, message passing and
hybrid shared memory/message passing parallelization in pure Java.
-
Uses of ParallelSection in edu.rit.pj
Methods in edu.rit.pj with parameters of type ParallelSectionModifier and TypeMethodDescriptionfinal voidParallelRegion.critical(Lock theLock, ParallelSection theSection) Perform a section of code in a critical region with exclusive locking using the given lock.final voidParallelRegion.critical(ParallelSection theSection) Perform a section of code in a critical region with exclusive locking.final voidParallelRegion.criticalNonexclusive(Lock theLock, ParallelSection theSection) Perform a section of code in a critical region with nonexclusive locking using the given lock.final voidParallelRegion.criticalNonexclusive(ParallelSection theSection) Perform a section of code in a critical region with nonexclusive locking.final voidParallelRegion.execute(ParallelSection section) Execute a parallel section within this parallel region.final voidParallelRegion.execute(ParallelSection[] sections) Execute a group of parallel sections concurrently within this parallel region.final voidParallelRegion.execute(ParallelSection[] sections, BarrierAction action) Execute a group of parallel sections concurrently within this parallel region.final voidParallelRegion.execute(ParallelSection section, BarrierAction action) Execute a parallel section within this parallel region.final voidParallelRegion.execute(ParallelSection section1, ParallelSection section2) Execute a group of two parallel sections concurrently within this parallel region.final voidParallelRegion.execute(ParallelSection section1, ParallelSection section2, BarrierAction action) Execute a group of two parallel sections concurrently within this parallel region.final voidParallelRegion.execute(ParallelSection section1, ParallelSection section2, ParallelSection section3) Execute a group of three parallel sections concurrently within this parallel region.final voidParallelRegion.execute(ParallelSection section1, ParallelSection section2, ParallelSection section3, BarrierAction action) Execute a group of three parallel sections concurrently within this parallel region.final voidIntegerForLoop.ordered(ParallelSection theSection) Execute the given section of code in order of the loop indexes.final voidIntegerStrideForLoop.ordered(ParallelSection theSection) Execute the given section of code in order of the loop indexes.final voidLongForLoop.ordered(ParallelSection theSection) Execute the given section of code in order of the loop indexes.final voidLongStrideForLoop.ordered(ParallelSection theSection) Execute the given section of code in order of the loop indexes.final voidParallelIteration.ordered(ParallelSection theSection) Execute the given section of code in the items' iteration order.