Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove debug info
[simgrid.git] / src / simdag / sd_global.c
index c34f3d9..e3f62b1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2013. The SimGrid Team.
+/* Copyright (c) 2006-2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -313,7 +313,7 @@ xbt_swag_t SD_simulate_swag(double how_long) {
     /* FIXME: shoud look at model_list or model_list_invoke? */
     /* let's see which tasks are done */
     xbt_dynar_foreach(model_list, iter, model) {
-      while ((action = xbt_swag_extract(surf_model_done_action_set(model)))) {
+      while ((action = surf_model_extract_done_action_set(model))) {
         task = surf_action_get_data(action);
         task->start_time = surf_action_get_start_time(task->surf_action);
 
@@ -380,7 +380,7 @@ xbt_swag_t SD_simulate_swag(double how_long) {
       }
 
       /* let's see which tasks have just failed */
-      while ((action = xbt_swag_extract(surf_model_failed_action_set(model)))) {
+      while ((action = surf_model_extract_failed_action_set(model))) {
         task = surf_action_get_data(action);
         task->start_time = surf_action_get_start_time(task->surf_action);
         task->finish_time = surf_get_clock();