Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix MC with the class-hierarchification of simgrid::simix::Synchro
[simgrid.git] / src / simix / SynchroIo.hpp
index a3039b7..afe6041 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef _SIMIX_SYNCHRO_IO_HPP
 #define _SIMIX_SYNCHRO_IO_HPP
 
+#include "surf/surf.h"
 #include "src/simix/Synchro.h"
 
 namespace simgrid {
@@ -13,6 +14,10 @@ namespace simix {
 
   XBT_PUBLIC_CLASS Io : public Synchro {
   public:
+    void suspend();
+    void resume();
+    void post() override;
+
     sg_host_t host;
     surf_action_t surf_io;
   };