Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
added ns3 wifi doc
[simgrid.git] / include / simgrid / s4u / Mailbox.hpp
index 5c02b70..f60c070 100644 (file)
@@ -45,6 +45,9 @@ public:
   /** Check if there is a communication going on in a mailbox. */
   bool listen();
 
+  /** Look if there is a communication going on in a mailbox and return the PID of the sender actor */
+  aid_t listen_from();
+
   /** Check if there is a communication ready to be consumed from a mailbox. */
   bool ready();