X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/d43e446400ac7b65d7d2dd3acd57f8f669484449..b78d5563826957045678f4c3bcfdcef6c9bfc48d:/process.cpp?ds=sidebyside diff --git a/process.cpp b/process.cpp index 3b37123..b0d7026 100644 --- a/process.cpp +++ b/process.cpp @@ -129,6 +129,8 @@ double process::sum_of_to_send() const double process::load_balance(double /*my_load*/) { + if (iter == 1) + WARN0("process::load_balance is a no-op!"); return 0.0; } @@ -186,7 +188,6 @@ void process::send() using namespace std::tr1; using namespace std::tr1::placeholders; - // fixme: shall we send data at all iterations? if (opt::bookkeeping) { std::for_each(neigh.begin(), neigh.end(), bind(&process::send1_bookkeeping, this, _1)); @@ -198,7 +199,6 @@ void process::send() } } -// Returns false if a CLOSE message was received. bool process::receive(recv_wait_mode wait) { bool result = true;