XBT_PUBLIC_DATA unsigned char sigsegv_stack[SIGSTKSZ];
#endif
-/** @brief Executes all the processes to run (in parallel if possible). */
-XBT_PRIVATE void SIMIX_context_runall();
-
XBT_PUBLIC int SIMIX_process_get_maxpid();
XBT_PRIVATE simgrid::simix::ActorCodeFactory& SIMIX_get_actor_code_factory(const std::string& name);
*/
void Global::run_all_actors()
{
- SIMIX_context_runall();
+ simix_global->context_factory->run_all();
actors_to_run.swap(actors_that_ran);
actors_to_run.clear();
/* Kill all processes (but maestro) */
simix_global->maestro_process->kill_all();
- SIMIX_context_runall();
+ simix_global->context_factory->run_all();
simix_global->empty_trash();
/* Exit the SIMIX network module */