#ifndef SIMGRID_S4U_ACTOR_HPP
#define SIMGRID_S4U_ACTOR_HPP
+#include <stdexcept>
#include <xbt/base.h>
#include <simgrid/simix.h>
#include <simgrid/s4u/forward.hpp>
*/
void kill();
+ static void kill(int pid);
+
+ /**
+ * Wait for the actor to finish.
+ */
+ void join();
+
// Static methods on all actors:
/** Ask kindly to all actors to die. Only the issuer will survive. */