jbarrier

edu.bonn.cs.net.jbarrier.barrier
Interface DoubleReduction

All Known Implementing Classes:
DoubleButterflyReduction, DoubleCentralReduction, DoubleDisseminationReduction, DoubleStaticTreeReduction, DoubleTournamentReduction

public interface DoubleReduction

Interface for barriers supporting primitive double reductions.

Version:
1.0
Author:
Patrick Peschlow, Ivan Castilla Rodriguez

Method Summary
 double await(int threadId, double value)
          Called by a party that reaches the barrier.
 

Method Detail

await

double await(int threadId,
             double value)
Called by a party that reaches the barrier.

Parameters:
threadId - the ID of the party
value - the value subject to the reduction
Returns:
the result of the reduction

jbarrier

Copyright 2010 Patrick Peschlow