Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the synchronization stuff to its own directory
[simgrid.git] / src / simix / libsmx.cpp
index 10177cc..7ecda54 100644 (file)
@@ -25,7 +25,7 @@
 #include "xbt/ex.h"
 #include "mc/mc.h"
 #include "src/simix/smx_host_private.h"
-#include "src/simix/SynchroComm.hpp"
+#include "src/synchro/SynchroComm.hpp"
 
 #include <simgrid/simix.hpp>
 
@@ -765,9 +765,9 @@ void simcall_comm_cancel(smx_synchro_t synchro)
 /**
  * \ingroup simix_comm_management
  */
-unsigned int simcall_comm_waitany(xbt_dynar_t comms)
+unsigned int simcall_comm_waitany(xbt_dynar_t comms, double timeout)
 {
-  return simcall_BODY_comm_waitany(comms);
+  return simcall_BODY_comm_waitany(comms, timeout);
 }
 
 /**
@@ -1119,4 +1119,4 @@ void unblock(smx_process_t process)
 }
 
 }
-}
\ No newline at end of file
+}