|
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (simix_process, simix, "Logging specific to SIMIX (process)") |
|
smx_actor_t | SIMIX_process_self () |
| Returns the current agent. More...
|
|
int | SIMIX_process_has_pending_comms (smx_actor_t process) |
| Returns whether a process has pending asynchronous communications. More...
|
|
void | SIMIX_process_cleanup (smx_actor_t process) |
| Moves a process to the list of processes to destroy. More...
|
|
void | SIMIX_process_empty_trash () |
| Garbage collection. More...
|
|
static int | simgrid::simix::dying_daemon (void *exit_status, void *data) |
|
void | simgrid::simix::create_maestro (std::function< void()> code) |
|
void | SIMIX_maestro_create (void(*code)(void *), void *data) |
| Creates and runs the maestro process. More...
|
|
smx_actor_t | SIMIX_process_create (const char *name, std::function< void()> code, void *data, simgrid::s4u::Host *host, std::map< std::string, std::string > *properties, smx_actor_t parent_process) |
| Internal function to create a process. More...
|
|
smx_actor_t | SIMIX_process_attach (const char *name, void *data, const char *hostname, std::map< std::string, std::string > *properties, smx_actor_t parent_process) |
|
void | SIMIX_process_detach () |
|
void | SIMIX_process_runall () |
| Executes the processes from simix_global->process_to_run. More...
|
|
void | SIMIX_process_kill (smx_actor_t process, smx_actor_t issuer) |
| Internal function to kill a SIMIX process. More...
|
|
void | SIMIX_process_throw (smx_actor_t process, xbt_errcat_t cat, int value, const char *msg) |
| Ask another process to raise the given exception. More...
|
|
void | simcall_HANDLER_process_killall (smx_simcall_t simcall, int reset_pid) |
|
void | SIMIX_process_killall (smx_actor_t issuer, int reset_pid) |
| Kills all running processes. More...
|
|
void | SIMIX_process_change_host (smx_actor_t process, sg_host_t dest) |
|
void | simcall_HANDLER_process_suspend (smx_simcall_t simcall, smx_actor_t process) |
|
int | SIMIX_process_get_maxpid () |
|
int | SIMIX_process_count () |
|
void * | SIMIX_process_self_get_data () |
|
void | SIMIX_process_self_set_data (void *data) |
|
const char * | SIMIX_process_self_get_name () |
|
smx_actor_t | SIMIX_process_get_by_name (const char *name) |
|
void | simcall_HANDLER_process_join (smx_simcall_t simcall, smx_actor_t process, double timeout) |
|
smx_activity_t | SIMIX_process_join (smx_actor_t issuer, smx_actor_t process, double timeout) |
|
void | simcall_HANDLER_process_sleep (smx_simcall_t simcall, double duration) |
|
void | SIMIX_process_sleep_destroy (smx_activity_t synchro) |
|
void | SIMIX_process_yield (smx_actor_t self) |
| Calling this function makes the process to yield. More...
|
|
void | SIMIX_process_exception_terminate (xbt_ex_t *e) |
|
smx_actor_t | SIMIX_process_from_PID (aid_t PID) |
| Returns the process from PID. More...
|
|
void | SIMIX_process_on_exit_runall (smx_actor_t process) |
|
void | SIMIX_process_on_exit (smx_actor_t process, int_f_pvoid_pvoid_t fun, void *data) |
|
void | SIMIX_process_auto_restart_set (smx_actor_t process, int auto_restart) |
| Sets the auto-restart status of the process. More...
|
|
smx_actor_t | simcall_process_create (const char *name, xbt_main_func_t code, void *data, sg_host_t host, int argc, char **argv, std::map< std::string, std::string > *properties) |
| Restart a process, starting it again from the beginning. More...
|
|
smx_actor_t | simcall_process_create (const char *name, std::function< void()> code, void *data, sg_host_t host, std::map< std::string, std::string > *properties) |
|
void SIMIX_process_runall |
( |
| ) |
|
Executes the processes from simix_global->process_to_run.
The processes of simix_global->process_to_run are run (in parallel if possible). On exit, simix_global->process_to_run is empty, and simix_global->process_that_ran contains the list of processes that just ran. The two lists are swapped so, be careful when using them before and after a call to this function.