Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
clang-format
[simgrid.git] / examples / cpp / dag-simple / s4u-dag-simple.cpp
index a22d3da784bc1225c0059ab3ff159860d6a53fd5..aae95e7101eb930e5de520f9e5513ee788d7d4e1 100644 (file)
@@ -56,9 +56,9 @@ int main(int argc, char* argv[])
   second_parent->set_host(fafard);
 
   // Start all activities that can actually start.
-  first_parent->vetoable_start();
-  second_parent->vetoable_start();
-  child->vetoable_start();
+  first_parent->start();
+  second_parent->start();
+  child->start();
 
   while (child->get_state() != sg4::Activity::State::FINISHED) {
     e.run();