Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define CommImpl::test().
[simgrid.git] / src / kernel / activity / ExecImpl.hpp
index 201b7336eabffea4cf6c954f84951b9621d5d2f5..1972af0a8f6ac0f76ca314bda968196275d90294 100644 (file)
@@ -37,6 +37,7 @@ public:
   ExecImpl& set_flops_amount(double flop_amount);
   ExecImpl& set_host(s4u::Host* host);
   s4u::Host* get_host() const { return hosts_.front(); }
+  const std::vector<s4u::Host*>& get_hosts() const { return hosts_; }
 
   ExecImpl& set_flops_amounts(const std::vector<double>& flops_amounts);
   ExecImpl& set_bytes_amounts(const std::vector<double>& bytes_amounts);
@@ -51,6 +52,8 @@ public:
   void post() override;
   void finish() override;
 
+  static void wait_any_for(actor::ActorImpl* issuer, const std::vector<ExecImpl*>* execs, double timeout);
+
   static xbt::signal<void(ExecImpl const&, s4u::Host*)> on_migration;
 };
 } // namespace activity