]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/s4u/mailbox.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename s4u Async to Activities
[simgrid.git] / include / simgrid / s4u / mailbox.hpp
index f1b2f3ff3a41436def6971b2d3edec4aa76d4dcf..3d1b6abd2ef4ff2b11805ff03eee1f3eb7099849 100644 (file)
@@ -33,7 +33,7 @@ public:
   ~Mailbox();
   
 protected:
-  smx_mailbox_t getInferior() { return inferior_; }
+  smx_mailbox_t getInferior() { return pimpl_; }
 
 public:
   /** Get the name of that mailbox */
@@ -54,8 +54,9 @@ public:
 
 private:
   std::string name_;
-  smx_mailbox_t inferior_;
+  smx_mailbox_t pimpl_;
   static boost::unordered_map<std::string, Mailbox *> *mailboxes;
+  friend s4u::Engine;
 };
 }} // namespace simgrid::s4u