ContextFactory::~ContextFactory() = default;
-static thread_local smx_context_t smx_current_context = nullptr;
+static thread_local Context* smx_current_context = nullptr;
Context* Context::self()
{
return smx_current_context;
} // namespace context
} // namespace kernel
} // namespace simgrid
-
-/** @brief Executes all the processes to run (in parallel if possible). */
-void SIMIX_context_runall()
-{
- simix_global->context_factory->run_all();
-}