X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/418ac8d537f356100767b8a21f65e16f7ba1d986..e49a7949060118737703106058657735cf3892d6:/src/simix/SynchroComm.hpp diff --git a/src/simix/SynchroComm.hpp b/src/simix/SynchroComm.hpp index 03c71d70e8..68a21e88b9 100644 --- a/src/simix/SynchroComm.hpp +++ b/src/simix/SynchroComm.hpp @@ -6,6 +6,7 @@ #ifndef _SIMIX_SYNCHRO_COMM_HPP #define _SIMIX_SYNCHRO_COMM_HPP +#include "surf/surf.h" #include "src/simix/Synchro.h" typedef enum { @@ -20,6 +21,10 @@ namespace simix { XBT_PUBLIC_CLASS Comm : public Synchro { public: + void suspend(); + void resume(); + void cancel(); + e_smx_comm_type_t type; /* Type of the communication (SIMIX_COMM_SEND or SIMIX_COMM_RECEIVE) */ smx_mailbox_t mbox; /* Rendez-vous where the comm is queued */