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
Use isend instead of send to set the simdata->comm so that get_remaining can work.
[simgrid.git]
/
src
/
msg
/
msg_gos.c
diff --git
a/src/msg/msg_gos.c
b/src/msg/msg_gos.c
index
c41dc38
..
7f1e3a5
100644
(file)
--- a/
src/msg/msg_gos.c
+++ b/
src/msg/msg_gos.c
@@
-469,8
+469,9
@@
void MSG_task_dsend(m_task_t task, const char *alias, void_f_pvoid_t cleanup)
msg_global->sent_msg++;
/* Send it by calling SIMIX network layer */
msg_global->sent_msg++;
/* Send it by calling SIMIX network layer */
- SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
+
smx_action_t comm =
SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
t_simdata->rate, task, sizeof(void *), NULL, cleanup, 1);
t_simdata->rate, task, sizeof(void *), NULL, cleanup, 1);
+ t_simdata->comm = comm;
}
/** \ingroup msg_gos_functions
}
/** \ingroup msg_gos_functions