SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::simix::Global Class Reference

#include <smx_private.hpp>

Public Attributes

smx_context_factory_t context_factory = nullptr
 
std::vector< smx_actor_tprocess_to_run
 
std::vector< smx_actor_tprocess_that_ran
 
std::map< aid_t, smx_actor_tprocess_list
 
boost::intrusive::list< ActorImpl, boost::intrusive::member_hook< ActorImpl, boost::intrusive::list_member_hook<>, &ActorImpl::smx_destroy_list_hook > > process_to_destroy
 
smx_actor_t maestro_process = nullptr
 
std::unordered_map< std::string, simgrid::simix::ActorCodeFactoryregistered_functions
 
simgrid::simix::ActorCodeFactory default_function
 
smx_creation_func_t create_process_function = nullptr
 
void_pfn_smxprocess_t kill_process_function = nullptr
 
void_pfn_smxprocess_t cleanup_process_function = nullptr
 Callback used when killing a SMX_process. More...
 
xbt_os_mutex_t mutex = nullptr
 
std::vector< simgrid::xbt::Task< void()> > tasks
 
std::vector< simgrid::xbt::Task< void()> > tasksTemp
 
std::vector< simgrid::simix::ActorImpl * > daemons
 

Friends

bool simgrid::s4u::this_actor::isMaestro ()
 

Friends And Related Function Documentation

◆ simgrid::s4u::this_actor::isMaestro

Member Data Documentation

◆ context_factory

smx_context_factory_t simgrid::simix::Global::context_factory = nullptr

◆ process_to_run

std::vector<smx_actor_t> simgrid::simix::Global::process_to_run

◆ process_that_ran

std::vector<smx_actor_t> simgrid::simix::Global::process_that_ran

◆ process_list

std::map<aid_t, smx_actor_t> simgrid::simix::Global::process_list

◆ process_to_destroy

boost::intrusive::list<ActorImpl, boost::intrusive::member_hook<ActorImpl, boost::intrusive::list_member_hook<>, &ActorImpl::smx_destroy_list_hook> > simgrid::simix::Global::process_to_destroy

◆ maestro_process

smx_actor_t simgrid::simix::Global::maestro_process = nullptr

◆ registered_functions

std::unordered_map<std::string, simgrid::simix::ActorCodeFactory> simgrid::simix::Global::registered_functions

◆ default_function

simgrid::simix::ActorCodeFactory simgrid::simix::Global::default_function

◆ create_process_function

smx_creation_func_t simgrid::simix::Global::create_process_function = nullptr

◆ kill_process_function

void_pfn_smxprocess_t simgrid::simix::Global::kill_process_function = nullptr

◆ cleanup_process_function

void_pfn_smxprocess_t simgrid::simix::Global::cleanup_process_function = nullptr

Callback used when killing a SMX_process.

◆ mutex

xbt_os_mutex_t simgrid::simix::Global::mutex = nullptr

◆ tasks

std::vector<simgrid::xbt::Task<void()> > simgrid::simix::Global::tasks

◆ tasksTemp

std::vector<simgrid::xbt::Task<void()> > simgrid::simix::Global::tasksTemp

◆ daemons

std::vector<simgrid::simix::ActorImpl*> simgrid::simix::Global::daemons

The documentation for this class was generated from the following file: