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
kill another old-fashioned simcall
[simgrid.git]
/
src
/
s4u
/
s4u_actor.cpp
diff --git
a/src/s4u/s4u_actor.cpp
b/src/s4u/s4u_actor.cpp
index
3d8a38e
..
859dfe7
100644
(file)
--- a/
src/s4u/s4u_actor.cpp
+++ b/
src/s4u/s4u_actor.cpp
@@
-62,7
+62,7
@@
void Actor::join() {
}
void Actor::setAutoRestart(bool autorestart) {
}
void Actor::setAutoRestart(bool autorestart) {
- sim
call_process_auto_restart_set(pimpl_,autorestart
);
+ sim
grid::simix::kernelImmediate([this, autorestart]() { pimpl_->auto_restart = autorestart; }
);
}
void Actor::onExit(int_f_pvoid_pvoid_t fun, void* data)
}
void Actor::onExit(int_f_pvoid_pvoid_t fun, void* data)