X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f2850cc1d935992994177c2c266141d5304d4694..82a490fdda330eb916eb059929de4be817fe8a87:/communicator.h?ds=sidebyside diff --git a/communicator.h b/communicator.h index c335920..b51f743 100644 --- a/communicator.h +++ b/communicator.h @@ -8,6 +8,7 @@ #include #include #include "hostdata.h" +#include "synchro.h" class message { public: @@ -53,8 +54,8 @@ private: std::queue received; // Handling of receiving thread - xbt_mutex_t receiver_mutex; - xbt_cond_t receiver_cond; + mutex_t receiver_mutex; + condition_t receiver_cond; m_process_t receiver_thread; static int receiver_wrapper(int, char* []); void receiver();