]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/ActivityImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix ExecImpl::get_remaining to return the right value when not started
[simgrid.git] / src / kernel / activity / ActivityImpl.hpp
index 08745c042507581d830297f1e430dacbc0a9d20e..53706362a6a44c1a23d521a901459ee3684e2b7f 100644 (file)
@@ -56,6 +56,7 @@ public:
 
   virtual void post() = 0; // Called by the main loop when the activity is marked as terminated or failed by its model.
                            // Setups the status, clean things up, and call finish()
+  virtual void set_exception(actor::ActorImpl* issuer) = 0; // Raising exceptions and stuff
   virtual void finish() = 0; // Unlock all simcalls blocked on that activity, either because it was marked as done by
                              // the model or because it terminated without waiting for the model