Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
libdist/src/Barrier.cpp File Reference

Contains implementation of HostFence and HostBarrier as well as functions that get static singletons of the 2. More...

#include "galois/substrate/PerThreadStorage.h"
#include "galois/runtime/Substrate.h"
#include "galois/substrate/CompilerSpecific.h"
#include "galois/runtime/Network.h"
#include "galois/runtime/LWCI.h"
#include <cstdlib>
#include <cstdio>
#include <limits>
#include <iostream>
#include "galois/runtime/BareMPI.h"

Detailed Description

Contains implementation of HostFence and HostBarrier as well as functions that get static singletons of the 2.

A fence flushes out and receives all messages in the network while a barrier simply acts as a barrier in the code for all hosts.