Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Doc++
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 10 Feb 2020 19:59:18 +0000 (20:59 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 10 Feb 2020 19:59:18 +0000 (20:59 +0100)
include/simgrid/s4u/Host.hpp

index 0375c7c..4e9f54d 100644 (file)
@@ -159,6 +159,12 @@ public:
 
   void route_to(const Host* dest, std::vector<Link*>& links, double* latency) const;
   void route_to(const Host* dest, std::vector<kernel::resource::LinkImpl*>& links, double* latency) const;
+  /** Do a communication between two arbitrary hosts.
+   *
+   * This starts a blocking communication right away, bypassing the mailbox and actors mechanism.
+   * The calling actor is blocked until the end of the communication; there is really no limit on the hosts involved.
+   * In particular, the actor does not have to be on one of the involved hosts. Enjoy the comfort of the simulator :)
+   */
   void send_to(Host* dest, double byte_amount);
 
   NetZone* get_englobing_zone();