X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96d81588155dceb9c433e3bcb2a8a688036bffb2..dbb61188c41cbcc3cbb6eca59452abf3d65e7c41:/include/simgrid/s4u/Exec.hpp diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 20cb8e48dd..19fa207624 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -37,9 +37,9 @@ class XBT_PUBLIC Exec : public Activity_T { std::vector bytes_amounts_; std::vector hosts_; bool parallel_ = false; + Exec(); public: - Exec(); ~Exec() override = default; #ifndef DOXYGEN Exec(Exec const&) = delete; @@ -49,6 +49,7 @@ public: static xbt::signal on_start; static xbt::signal on_completion; + static ExecPtr init(); Exec* start() override; /** @brief On sequential executions, returns the amount of flops that remain to be done; This cannot be used on * parallel executions. */