X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2861b196370a190baff596fd854e79e5ebb202a6..b08cf565e62c980d3fa23c031b341ca4f1427bd9:/src/simix/SynchroComm.hpp diff --git a/src/simix/SynchroComm.hpp b/src/simix/SynchroComm.hpp index 70359b2785..d2c549b376 100644 --- a/src/simix/SynchroComm.hpp +++ b/src/simix/SynchroComm.hpp @@ -20,10 +20,12 @@ namespace simgrid { namespace simix { XBT_PUBLIC_CLASS Comm : public Synchro { + ~Comm(); public: Comm(e_smx_comm_type_t type); - void suspend(); - void resume(); + void suspend() override; + void resume() override; + void post() override; void cancel(); double remains(); void cleanupSurf(); // FIXME: make me protected @@ -36,7 +38,6 @@ namespace simix { (comm.mbox set to NULL when the communication is removed from the mailbox (used as garbage collector)) */ #endif - int refcount = 1; /* Number of processes involved in the cond */ bool detached = false; /* If detached or not */ void (*clean_fun)(void*); /* Function to clean the detached src_buf if something goes wrong */