Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill 2 more empty functions: simcall_process_get_name & SIMIX_process_get_name
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index f9dd991..99f4a8a 100644 (file)
@@ -170,6 +170,8 @@ public:
   using Ptr = boost::intrusive_ptr<Actor>;
 
   // ***** Actor creation *****
+  /** Retrieve a reference to myself */
+  static Ptr self();
 
   /** Create an actor using a function
    *
@@ -231,7 +233,8 @@ public:
   /** Ask the actor to die.
    *
    * It will only notice your request when doing a simcall next time (a communication or similar).
-   * SimGrid sometimes have issues when you kill actors that are currently communicating and such. We are working on it to fix the issues.
+   * SimGrid sometimes have issues when you kill actors that are currently communicating and such.
+   * We are working on it to fix the issues.
    */
   void kill();