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
smells--
[simgrid.git]
/
src
/
simix
/
SynchroExec.hpp
diff --git
a/src/simix/SynchroExec.hpp
b/src/simix/SynchroExec.hpp
index d0abb299c2f83b71a82d93116a4e8ab689b347fe..e52d59d227cd350d3c6ce9d65dddbbacdff6baa1 100644
(file)
--- a/
src/simix/SynchroExec.hpp
+++ b/
src/simix/SynchroExec.hpp
@@
-13,15
+13,16
@@
namespace simgrid {
namespace simix {
XBT_PUBLIC_CLASS Exec : public Synchro {
namespace simix {
XBT_PUBLIC_CLASS Exec : public Synchro {
- ~Exec();
+ ~Exec()
override
;
public:
public:
- void suspend();
- void resume();
+ Exec(const char*name, sg_host_t host);
+ void suspend() override;
+ void resume() override;
void post() override;
double remains();
void post() override;
double remains();
- sg_host_t host
; /* The host where the execution takes place
*/
- surf_action_t surf_exec
;
/* The Surf execution action encapsulated */
+ sg_host_t host
= nullptr; /* The host where the execution takes place. If NULL, then this is a parallel exec (and only surf knows the hosts)
*/
+ surf_action_t surf_exec
= nullptr;
/* The Surf execution action encapsulated */
};
}} // namespace simgrid::simix
};
}} // namespace simgrid::simix