X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/8f5e351ba6584886c256d88d2112bd1efab5f1bf..245565c060611ddfed5067ab4000e91e440c402c:/process.h?ds=inline diff --git a/process.h b/process.h index 901d381..5e1faa6 100644 --- a/process.h +++ b/process.h @@ -16,6 +16,7 @@ #include #include #include +#include "atomic_compat.h" #include "communicator.h" #include "misc.h" #include "msg_thread.h" @@ -98,6 +99,8 @@ private: static double total_load_average; static double load_diff_threshold; + static std::atomic convergence_counter; + typedef MAP_TEMPLATE rev_neigh_type; neigh_type neigh; // list of neighbors (do not alter // after construction!)