]> AND Private Git Repository - loba.git/blobdiff - communicator.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Update .gitignore.
[loba.git] / communicator.h
index 7cb1efcb0883374084f9aeb872b5a2fad1bd96b6..cfe8624e62493f37425c5ed4c440e15a63896b58 100644 (file)
@@ -7,7 +7,7 @@
 #include <msg/msg.h>
 #include "hostdata.h"
 #include "messages.h"
 #include <msg/msg.h>
 #include "hostdata.h"
 #include "messages.h"
-#include "synchro.h"
+#include "msg_thread.h"
 
 class communicator {
 public:
 
 class communicator {
 public:
@@ -37,10 +37,7 @@ private:
     message_queue received;
 
     // Handling of receiving thread
     message_queue received;
 
     // Handling of receiving thread
-    mutex_t receiver_mutex;
-    condition_t receiver_cond;
-    m_process_t receiver_thread;
-    static int receiver_wrapper(int, char* []);
+    msg_thread* receiver_thread;
     void receiver();
 
     // Used to chek if a communication is successfull before destroying it
     void receiver();
 
     // Used to chek if a communication is successfull before destroying it