Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
obey sonar and make SwappedContext::stack_ private
[simgrid.git] / src / kernel / context / ContextSwapped.cpp
index a270f90..b550205 100644 (file)
@@ -140,6 +140,11 @@ void SwappedContext::set_maestro(SwappedContext* ctx)
     factory_->workers_context_[0] = ctx;
 }
 
+void* SwappedContext::get_stack()
+{
+  return stack_;
+}
+
 void SwappedContext::stop()
 {
   Context::stop();