X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0a6e013f154a3585c7ff659b2272eb5707c11a78..423d3ad610d6a1e0587b42fd7d2a7a9959af778d:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 16682aa91c..a2c71d0a47 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -112,6 +112,9 @@ public: bool test(); void cancel(); + /** Retrieve the mailbox on which this comm acts */ + MailboxPtr mailbox(); + private: double rate_ = -1; void* dstBuff_ = nullptr;