#include <vector>
#include <msg/msg.h>
#include <xbt/log.h>
+#include "atomic_compat.h"
#include "communicator.h"
#include "misc.h"
#include "msg_thread.h"
static double total_load_average;
static double load_diff_threshold;
+ static std::atomic<int> convergence_counter;
+
typedef MAP_TEMPLATE<m_host_t, neighbor*> rev_neigh_type;
neigh_type neigh; // list of neighbors (do not alter
// after construction!)