X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/147d0e88c4da14c801d15e0875bedb474180bea2..5279f43fc9be71815091e79c76d5bc04c8c88421:/process.h?ds=inline diff --git a/process.h b/process.h index aa1e032..3baabbf 100644 --- a/process.h +++ b/process.h @@ -8,7 +8,7 @@ class process { public: - process(int argc, char *argv[]); + process(int argc, char* argv[]); ~process() { }; int run(); @@ -16,9 +16,14 @@ private: communicator comm; std::vector neigh; double load; + double expected_load; + + int ctrl_close_pending; + int data_close_pending; - void receive(); void compute(); + bool receive(bool wait_for_close); + void finalize(); void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info); };