X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4052b6d9960bd9792127d006c4f359b946cb7baa..d5e1e19fefb2e6b1c1b7ec559ea8dd3bba91baf2:/src/kernel/context/Context.cpp diff --git a/src/kernel/context/Context.cpp b/src/kernel/context/Context.cpp index b1af4dc6aa..60ad8518a5 100644 --- a/src/kernel/context/Context.cpp +++ b/src/kernel/context/Context.cpp @@ -8,6 +8,8 @@ #include "src/kernel/context/Context.hpp" #include "src/simix/smx_private.hpp" +XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context); + /** * @brief creates a new context for a user level process * @param code a main function @@ -77,7 +79,7 @@ void Context::stop() { if (this->cleanup_func_) this->cleanup_func_(this->process_); - this->process_->suspended = 0; + this->process_->suspended_ = 0; this->iwannadie = false; simgrid::simix::simcall([this] { SIMIX_process_cleanup(this->process_); });