edu.bonn.cs.net.jbarrier.barrier
Interface IntReduction
- All Known Implementing Classes:
- IntButterflyReduction, IntCentralReduction, IntDisseminationReduction, IntStaticTreeReduction, IntTournamentReduction
public interface IntReduction
Interface for barriers supporting primitive int reductions.
- Version:
- 1.0
- Author:
- Patrick Peschlow, Ivan Castilla Rodriguez
Method Summary |
int |
await(int threadId,
int value)
Called by a party that reaches the barrier. |
await
int await(int threadId,
int value)
- Called by a party that reaches the barrier.
- Parameters:
threadId
- the ID of the partyvalue
- the value subject to the reduction
- Returns:
- the result of the reduction
Copyright 2010 Patrick Peschlow