X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d67901dba3dfd8e75f708c329b8144287490077..a1cc46cd2ecc3a43cc3c41b6a8e14111da0237ba:/src/simix/SynchroRaw.hpp?ds=sidebyside diff --git a/src/simix/SynchroRaw.hpp b/src/simix/SynchroRaw.hpp index 3d8a28e473..c0a34442a7 100644 --- a/src/simix/SynchroRaw.hpp +++ b/src/simix/SynchroRaw.hpp @@ -6,6 +6,7 @@ #ifndef _SIMIX_SYNCHRO_RAW_HPP #define _SIMIX_SYNCHRO_RAW_HPP +#include "surf/surf.h" #include "src/simix/Synchro.h" namespace simgrid { @@ -14,6 +15,9 @@ namespace simix { /** Used to implement mutexes, semaphores and conditions */ XBT_PUBLIC_CLASS Raw : public Synchro { public: + void suspend(); + void resume(); + surf_action_t sleep; };