From 69d2b376af587168856d34eceb4722e7d3154347 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 10 Feb 2020 20:59:18 +0100 Subject: [PATCH] Doc++ --- include/simgrid/s4u/Host.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index 0375c7c159..4e9f54dd05 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -159,6 +159,12 @@ public: void route_to(const Host* dest, std::vector& links, double* latency) const; void route_to(const Host* dest, std::vector& 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(); -- 2.20.1