Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
implement getter s4u::Comm::mailbox()
[simgrid.git] / include / simgrid / s4u / Comm.hpp
index 16682aa..a2c71d0 100644 (file)
@@ -112,6 +112,9 @@ public:
   bool test();
   void cancel();
 
   bool test();
   void cancel();
 
+  /** Retrieve the mailbox on which this comm acts */
+  MailboxPtr mailbox();
+
 private:
   double rate_        = -1;
   void* dstBuff_      = nullptr;
 private:
   double rate_        = -1;
   void* dstBuff_      = nullptr;