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
Don't read a comm after completion since it is auto-destroyed now.
[simgrid.git]
/
src
/
simix
/
smx_user.c
diff --git
a/src/simix/smx_user.c
b/src/simix/smx_user.c
index
3096246
..
aff9f7f
100644
(file)
--- a/
src/simix/smx_user.c
+++ b/
src/simix/smx_user.c
@@
-661,13
+661,17
@@
void SIMIX_req_comm_destroy(smx_action_t comm)
{
xbt_assert0(comm, "Invalid parameter");
{
xbt_assert0(comm, "Invalid parameter");
- /* FIXME remove this request type (auto-destroy finished comms) */
+ /* FIXME remove this request type: comms are auto-destroyed now,
+ * but what happens with unfinished comms? */
+
+ /*
smx_req_t req = SIMIX_req_mine();
req->call = REQ_COMM_DESTROY;
req->comm_destroy.comm = comm;
SIMIX_request_push();
smx_req_t req = SIMIX_req_mine();
req->call = REQ_COMM_DESTROY;
req->comm_destroy.comm = comm;
SIMIX_request_push();
+ */
}
void SIMIX_req_comm_cancel(smx_action_t comm)
}
void SIMIX_req_comm_cancel(smx_action_t comm)