A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean the links between action and conditions. Now there are two functions:
[simgrid.git]
/
src
/
simix
/
smx_global.c
diff --git
a/src/simix/smx_global.c
b/src/simix/smx_global.c
index
ff96a3d
..
9752664
100644
(file)
--- a/
src/simix/smx_global.c
+++ b/
src/simix/smx_global.c
@@
-225,7
+225,7
@@
void __SIMIX_main(void)
}
SIMIX_cond_broadcast(cond);
/* remove conditional from action */
}
SIMIX_cond_broadcast(cond);
/* remove conditional from action */
-
xbt_fifo_remove(smx_action->cond_list
, cond);
+
SIMIX_unregister_action_to_condition(smx_action
, cond);
}
}
}
}
@@
-240,7
+240,7
@@
void __SIMIX_main(void)
}
SIMIX_cond_broadcast(cond);
/* remove conditional from action */
}
SIMIX_cond_broadcast(cond);
/* remove conditional from action */
-
xbt_fifo_remove(smx_action->cond_list
, cond);
+
SIMIX_unregister_action_to_condition(smx_action
, cond);
}
}
}
}
}
}