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
try to plug a memleak
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Actor.hpp
diff --git
a/include/simgrid/s4u/Actor.hpp
b/include/simgrid/s4u/Actor.hpp
index 670f5022c997732a0d44b684d85e42fb43ea96f3..147f538aa3853adb74ceed0d323b263ff8c22d0a 100644
(file)
--- a/
include/simgrid/s4u/Actor.hpp
+++ b/
include/simgrid/s4u/Actor.hpp
@@
-165,6
+165,8
@@
public:
/** Signal to others that a new actor has been created **/
static simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> onCreation;
/** Signal to others that a new actor has been created **/
static simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> onCreation;
+ /** Signal indicating that the given actor is about to disappear */
+ static simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> onDestruction;
/** Create an actor using a function
*
/** Create an actor using a function
*