- while ((var =
- lmm_get_var_from_cnst(cpu_maxmin_system, cnst, &elem))) {
- surf_action_t action = lmm_variable_id(var);
-
- if (surf_action_state_get(action) == SURF_ACTION_RUNNING ||
- surf_action_state_get(action) == SURF_ACTION_READY ||
- surf_action_state_get(action) ==
- SURF_ACTION_NOT_IN_THE_SYSTEM) {
- action->finish = date;
- cpu_cpu_action_state_set(action, SURF_ACTION_FAILED);
- }
+ while ((var = lmm_get_var_from_cnst(cpu_maxmin_system, cnst, &elem))) {
+ surf_action_t action = lmm_variable_id(var);
+
+ if (surf_action_state_get(action) == SURF_ACTION_RUNNING ||
+ surf_action_state_get(action) == SURF_ACTION_READY ||
+ surf_action_state_get(action) ==
+ SURF_ACTION_NOT_IN_THE_SYSTEM) {
+ action->finish = date;
+ cpu_cpu_action_state_set(action, SURF_ACTION_FAILED);
+ }