Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Expose MailboxImpl::clear() to improve handling of node faults
[simgrid.git] / include / simgrid / s4u / Mailbox.hpp
index fe9f875..d48166d 100644 (file)
@@ -124,6 +124,9 @@ public:
   /** Blocking data reception with timeout */
   template <typename T> T* get(double timeout);
   template <typename T> std::unique_ptr<T> get_unique(double timeout) { return std::unique_ptr<T>(get<T>(timeout)); }
+
+  void clear();
+  
 };
 
 template <typename T> CommPtr Mailbox::get_async(T** data)