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

Private GIT Repository
Be consistent and hold mutex in any case when returning from condition_t::timedwait().
[loba.git] / msg_thread.h
index 0fee6ea0f682d24586df82a7ec3dca5f8dd2a977..69ce02b60fddfd885eac81c5f2f5d74963d12582 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <string>
 #include <msg/msg.h>
+#include "simgrid_features.h"
 #include "synchro.h"
 
 class msg_thread {
@@ -20,7 +21,7 @@ private:
     bool started;
     mutex_t mutex;
     condition_t cond;
-    m_process_t thread;
+    msg_process_t thread;
     std::string thread_name;
 
     void run_wrapper();