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
New signal: Activity::on_veto, to detect when an activity fails to start
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Exec.hpp
diff --git
a/include/simgrid/s4u/Exec.hpp
b/include/simgrid/s4u/Exec.hpp
index
3aa1400
..
e6b18d0
100644
(file)
--- a/
include/simgrid/s4u/Exec.hpp
+++ b/
include/simgrid/s4u/Exec.hpp
@@
-46,7
+46,9
@@
public:
Exec(Exec const&) = delete;
Exec& operator=(Exec const&) = delete;
#endif
Exec(Exec const&) = delete;
Exec& operator=(Exec const&) = delete;
#endif
+ /*! Signal fired each time that an execution actually starts (no veto) */
static xbt::signal<void(Exec const&)> on_start;
static xbt::signal<void(Exec const&)> on_start;
+ /*! Signal fired each time that an execution terminates (either normally, cancelled or failed) */
static xbt::signal<void(Exec const&)> on_completion;
static ExecPtr init();
static xbt::signal<void(Exec const&)> on_completion;
static ExecPtr init();