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
smpirun: really disable privatization with -no-privatize.
[simgrid.git]
/
examples
/
msg
/
synchro-semaphore
/
synchro-semaphore.c
diff --git
a/examples/msg/synchro-semaphore/synchro-semaphore.c
b/examples/msg/synchro-semaphore/synchro-semaphore.c
index
d91e546
..
f4312d8
100644
(file)
--- a/
examples/msg/synchro-semaphore/synchro-semaphore.c
+++ b/
examples/msg/synchro-semaphore/synchro-semaphore.c
@@
-67,6
+67,7
@@
int main(int argc, char* argv[])
MSG_process_create_with_arguments("Bob", peer, NULL, h, 8, bobTimes);
msg_error_t res = MSG_main();
+ MSG_sem_destroy(sem);
XBT_INFO("Finished\n");
return (res != MSG_OK);
}