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
fix some more MC examples
[simgrid.git]
/
src
/
mc
/
mc_base.cpp
diff --git
a/src/mc/mc_base.cpp
b/src/mc/mc_base.cpp
index
f1b7d80
..
6f13189
100644
(file)
--- a/
src/mc/mc_base.cpp
+++ b/
src/mc/mc_base.cpp
@@
-79,7
+79,7
@@
bool request_is_enabled(smx_simcall_t req)
{
/* FIXME: check also that src and dst processes are not suspended */
simgrid::kernel::activity::CommImpl* act =
- static_cast<simgrid::kernel::activity::CommImpl*>(
&*simcall_comm_wait__get
__comm(req));
+ static_cast<simgrid::kernel::activity::CommImpl*>(
simcall_comm_wait__getraw
__comm(req));
#if SIMGRID_HAVE_MC
// Fetch from MCed memory:
@@
-107,7
+107,7
@@
bool request_is_enabled(smx_simcall_t req)
case SIMCALL_COMM_WAITANY: {
xbt_dynar_t comms;
simgrid::kernel::activity::CommImpl* act =
- static_cast<simgrid::kernel::activity::CommImpl*>(
&*simcall_comm_wait__get
__comm(req));
+ static_cast<simgrid::kernel::activity::CommImpl*>(
simcall_comm_wait__getraw
__comm(req));
#if SIMGRID_HAVE_MC
s_xbt_dynar_t comms_buffer;