Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More information on actor death in monkey's test case
[simgrid.git] / src / kernel / context / Context.cpp
index 51dd90b..b20d786 100644 (file)
@@ -141,6 +141,11 @@ void Context::stop()
   this->actor_->cleanup();
 }
 
+void Context::set_wannadie(bool value)
+{
+  XBT_DEBUG("Actor %s gonna die.", actor_->get_cname());
+  iwannadie_ = value;
+}
 AttachContext::~AttachContext() = default;
 
 } // namespace context