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
Add a function called after a MSG_comm_test.
[simgrid.git]
/
src
/
msg
/
gos.c
diff --git
a/src/msg/gos.c
b/src/msg/gos.c
index
943df63
..
b98263d
100644
(file)
--- a/
src/msg/gos.c
+++ b/
src/msg/gos.c
@@
-470,6
+470,10
@@
int MSG_comm_test(msg_comm_t comm) {
return SIMIX_network_test(comm);
}
+void MSG_comm_destroy(msg_comm_t comm) {
+ SIMIX_communication_destroy(comm);
+}
+
MSG_error_t MSG_comm_wait(msg_comm_t comm, double timeout) {
xbt_ex_t e;
MSG_error_t res = MSG_OK;