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
Specialize parameter for simcall execution_test.
[simgrid.git]
/
src
/
kernel
/
activity
/
ExecImpl.cpp
diff --git
a/src/kernel/activity/ExecImpl.cpp
b/src/kernel/activity/ExecImpl.cpp
index
0969448
..
beeed7e
100644
(file)
--- a/
src/kernel/activity/ExecImpl.cpp
+++ b/
src/kernel/activity/ExecImpl.cpp
@@
-35,12
+35,12
@@
void simcall_HANDLER_execution_wait(smx_simcall_t simcall, smx_activity_t synchr
boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(synchro)->finish();
}
boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(synchro)->finish();
}
-void simcall_HANDLER_execution_test(smx_simcall_t simcall, s
mx_activity_t
synchro)
+void simcall_HANDLER_execution_test(smx_simcall_t simcall, s
imgrid::kernel::activity::ExecImpl*
synchro)
{
int res = (synchro->state_ != SIMIX_WAITING && synchro->state_ != SIMIX_RUNNING);
if (res) {
synchro->simcalls_.push_back(simcall);
{
int res = (synchro->state_ != SIMIX_WAITING && synchro->state_ != SIMIX_RUNNING);
if (res) {
synchro->simcalls_.push_back(simcall);
-
boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(synchro)
->finish();
+
synchro
->finish();
} else {
SIMIX_simcall_answer(simcall);
}
} else {
SIMIX_simcall_answer(simcall);
}