Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please henri, add recv with timeout.
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index 5b0378c..524f508 100644 (file)
@@ -313,6 +313,7 @@ template <class Rep, class Period> inline void sleep_for(std::chrono::duration<R
    * See \ref Comm for the full communication API (including non blocking communications).
    */
   XBT_PUBLIC(void*) recv(MailboxPtr chan);
+  XBT_PUBLIC(void*) recv(MailboxPtr chan, double timeout);
   XBT_PUBLIC(CommPtr) irecv(MailboxPtr chan, void** data);
 
   /** Block the actor until it delivers a message of the given simulated size to the given mailbox