package be.ac.vub.ir.multithreading; import flanagan.math.Fmath; public class BarrierWithReduction0 { final int NBR_ELEMENTS = 10, NBR_RUNS = 4; int[] data = new int[NBR_ELEMENTS]; // ** Main ** public static void main(String[] args) { new BarrierWithReduction0().runSeq(); System.out.println("PARALLEL RUN:"); new BarrierWithReduction0().runParallel(); } void runSeq(){ for(int r=0;r