Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
introduce a simcall_blocking(), and improve the comments
[simgrid.git] / src / kernel / actor / ActorImpl.hpp
index acf8f24..81a710a 100644 (file)
@@ -129,6 +129,12 @@ public:
   activity::ActivityImplPtr sleep(double duration);
   /** Ask the actor to throw an exception right away */
   void throw_exception(std::exception_ptr e);
+
+  /** execute the pending simcall -- must be called from the maestro context */
+  void simcall_handle(int value);
+  /** Terminates a simcall currently executed in maestro context. The actor will be restarted in the next scheduling
+   * round */
+  void simcall_answer();
 };
 
 class ProcessArg {