X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/418ac8d537f356100767b8a21f65e16f7ba1d986..6a66ef7c8b80c9f76525b67c64d847e3803ee517:/src/simix/SynchroRaw.hpp diff --git a/src/simix/SynchroRaw.hpp b/src/simix/SynchroRaw.hpp index 3d8a28e473..1d9345b8c5 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,7 +15,12 @@ namespace simix { /** Used to implement mutexes, semaphores and conditions */ XBT_PUBLIC_CLASS Raw : public Synchro { public: - surf_action_t sleep; + ~Raw() override; + void suspend() override; + void resume() override; + void post() override; + + surf_action_t sleep = nullptr; }; }} // namespace simgrid::simix