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
model-checker : --cfg=model-check/checkpoint is an int, not a boolean
[simgrid.git]
/
src
/
msg
/
msg_vm.c
diff --git
a/src/msg/msg_vm.c
b/src/msg/msg_vm.c
index
f46e7ca
..
1143525
100644
(file)
--- a/
src/msg/msg_vm.c
+++ b/
src/msg/msg_vm.c
@@
-171,7
+171,7
@@
void MSG_vm_shutdown(msg_vm_t vm)
{
msg_process_t process;
XBT_DEBUG("%lu processes in the VM", xbt_dynar_length(vm->processes));
- while (
xbt_dynar_length(vm->processes) > 0
) {
+ while (
!xbt_dynar_is_empty(vm->processes)
) {
process = xbt_dynar_get_as(vm->processes,0,msg_process_t);
MSG_process_kill(process);
}