X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4f8948b8f67d26726a2e53c9afe1a110c037ce4b..325b135f0ee33c6c0242a14e2f58a54fb571b032:/communicator.h?ds=inline diff --git a/communicator.h b/communicator.h index 4e0757a..fb06d34 100644 --- a/communicator.h +++ b/communicator.h @@ -44,6 +44,8 @@ private: // List of pending send communications std::list sent_comm; + static const int send_count_before_flush; + int send_counter; // Control channel for receiving m_task_t ctrl_task; @@ -58,7 +60,6 @@ private: const char* get_ctrl_mbox() const { return host->get_ctrl_mbox(); } const char* get_data_mbox() const { return host->get_data_mbox(); } - static void comm_push_in_dynar(xbt_dynar_t dynar, msg_comm_t comm); static bool comm_test_n_destroy(msg_comm_t comm); };