Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into 'python_bindings_host_load_plugin'
[simgrid.git] / examples / cpp / task-simple / s4u-task-simple.cpp
index 0ec6aaa4c283ea47a40f66145243aa25b507ae38..72ddf4c0d937a7f553ed625950407803e812647d 100644 (file)
@@ -42,8 +42,8 @@ int main(int argc, char* argv[])
     XBT_INFO("Task %s finished (%d)", t->get_name().c_str(), t->get_count());
   });
 
-  // Enqueue two executions for task exec1
-  exec1->enqueue_execs(2);
+  // Enqueue two firings for task exec1
+  exec1->enqueue_firings(2);
 
   // Start the simulation
   e.run();