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
s4u::Exec now has 2 child classes
[simgrid.git]
/
src
/
simix
/
ActorImpl.cpp
diff --git
a/src/simix/ActorImpl.cpp
b/src/simix/ActorImpl.cpp
index
2a664f4
..
b5d78bb
100644
(file)
--- a/
src/simix/ActorImpl.cpp
+++ b/
src/simix/ActorImpl.cpp
@@
-344,7
+344,7
@@
activity::ActivityImplPtr ActorImpl::suspend(ActorImpl* issuer)
return nullptr;
} else {
- return activity::ExecImplPtr(new activity::ExecImpl("suspend", ""
, this->host_)
)->start(0.0, 1.0, 0.0);
+ return activity::ExecImplPtr(new activity::ExecImpl("suspend", ""
))->set_host(host_
)->start(0.0, 1.0, 0.0);
}
}