X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/691ad8fcfd10c7c03c272897ff3f309abadf3043..fcf6c25b7dc7f9074b1f2d83948f4ceeb45c228c:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 6e33e01334..9fb2288747 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -37,6 +37,9 @@ class XBT_PUBLIC Comm : public Activity_T { Comm() = default; +protected: + void complete(Activity::State state) override; + public: #ifndef DOXYGEN friend Mailbox; // Factory of comms @@ -76,9 +79,7 @@ public: static int test_any(const std::vector* comms); Comm* start() override; - Comm* wait() override; Comm* wait_for(double timeout) override; - Comm* cancel() override; bool test() override; /** Start the comm, and ignore its result. It can be completely forgotten after that. */