Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add daemonize for s4u actors too
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index 1168847..f8febaa 100644 (file)
@@ -194,6 +194,8 @@ public:
   static ActorPtr createActor(const char* name, s4u::Host* host, const char* function, std::vector<std::string> args);
 
   // ***** Methods *****
+  /** This actor will be automatically terminated when the last non-daemon process finishes **/
+  void daemonize();
 
   /** Retrieves the name of that actor as a C string */
   const char* cname();