Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Revert "actually fix the memleak around smpi's process_data" and "try to...
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index 670f502..147f538 100644 (file)
@@ -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 indicating that the given actor is about to disappear */
+  static simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> onDestruction;
 
   /** Create an actor using a function
    *