Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reintroduce a SD_READY state, which now means "ready" in a scheduling
[simgrid.git] / src / simdag / sd_daxloader.c
index 6d6c0d9..007b233 100644 (file)
@@ -81,6 +81,9 @@ xbt_dynar_t SD_daxload(const char*filename) {
   files=xbt_dict_new();
   jobs=xbt_dict_new();
   root_task = SD_task_create_comp_seq("root",NULL,0);
+  /* by design the root task is always READY */
+  __SD_task_set_state(root_task, SD_READY);
+
   xbt_dynar_push(result,&root_task);
   end_task = SD_task_create_comp_seq("end",NULL,0);