- while (SIMIX_solve(actions_done, actions_failed) != -1.0) {
- while ((action = xbt_fifo_pop(actions_failed))) {
- DEBUG1("** %s failed **", SIMIX_action_get_name(action));
- SIMIX_action_signal_all (action);
- /* action finished, destroy it */
- // SIMIX_action_destroy(action);
- }
-
- while ((action = xbt_fifo_pop(actions_done))) {
- DEBUG1("** %s done **", SIMIX_action_get_name(action));
- SIMIX_action_signal_all (action);
- /* action finished, destroy it */
- //SIMIX_action_destroy(action);
- }
- }
- xbt_fifo_free(actions_failed);
- xbt_fifo_free(actions_done);