|
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (simix_process, simix,"Logging specific to SIMIX (process)") |
|
smx_process_t | SIMIX_process_self (void) |
| Returns the current agent. More...
|
|
int | SIMIX_process_has_pending_comms (smx_process_t process) |
| Returns whether a process has pending asynchronous communications. More...
|
|
void | SIMIX_process_cleanup (smx_process_t process) |
| Moves a process to the list of processes to destroy. More...
|
|
void | SIMIX_process_empty_trash (void) |
| Garbage collection. More...
|
|
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...
|
|
void | SIMIX_process_stop (smx_process_t arg) |
| Stops a process. More...
|
|
smx_process_t | SIMIX_process_create_from_wrapper (smx_process_arg_t args) |
| Same as SIMIX_process_create() but with only one argument (used by timers). More...
|
|
void * | simcall_HANDLER_process_create (smx_simcall_t simcall, const char *name, xbt_main_func_t code, void *data, const char *hostname, double kill_time, int argc, char **argv, xbt_dict_t properties, int auto_restart) |
|
static void | kill_process (void *process) |
|
smx_process_t | SIMIX_process_create (const char *name, xbt_main_func_t code, void *data, const char *hostname, double kill_time, int argc, char **argv, xbt_dict_t properties, int auto_restart, smx_process_t parent_process) |
| Internal function to create a process. More...
|
|
smx_process_t | SIMIX_process_attach (const char *name, void *data, const char *hostname, xbt_dict_t properties, smx_process_t parent_process) |
|
void | SIMIX_process_detach (void) |
|
void | SIMIX_process_runall (void) |
| Executes the processes from simix_global->process_to_run. More...
|
|
void | simcall_HANDLER_process_kill (smx_simcall_t simcall, smx_process_t process) |
|
void | SIMIX_process_kill (smx_process_t process, smx_process_t issuer) |
| Internal function to kill a SIMIX process. More...
|
|
void | SIMIX_process_throw (smx_process_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_process_t issuer, int reset_pid) |
| Kills all running processes. More...
|
|
void | simcall_HANDLER_process_set_host (smx_simcall_t simcall, smx_process_t process, sg_host_t dest) |
|
void | SIMIX_process_change_host (smx_process_t process, sg_host_t dest) |
|
void | simcall_HANDLER_process_suspend (smx_simcall_t simcall, smx_process_t process) |
|
smx_synchro_t | SIMIX_process_suspend (smx_process_t process, smx_process_t issuer) |
|
void | simcall_HANDLER_process_resume (smx_simcall_t simcall, smx_process_t process) |
|
void | SIMIX_process_resume (smx_process_t process, smx_process_t issuer) |
|
int | SIMIX_process_get_maxpid (void) |
|
int | SIMIX_process_count (void) |
|
int | SIMIX_process_get_PID (smx_process_t self) |
|
int | SIMIX_process_get_PPID (smx_process_t self) |
|
void * | SIMIX_process_self_get_data () |
|
void | SIMIX_process_self_set_data (void *data) |
|
void * | SIMIX_process_get_data (smx_process_t process) |
|
void | SIMIX_process_set_data (smx_process_t process, void *data) |
|
sg_host_t | SIMIX_process_get_host (smx_process_t process) |
|
xbt_main_func_t | SIMIX_process_get_code (void) |
|
const char * | SIMIX_process_self_get_name (void) |
|
const char * | SIMIX_process_get_name (smx_process_t process) |
|
smx_process_t | SIMIX_process_get_by_name (const char *name) |
|
int | SIMIX_process_is_suspended (smx_process_t process) |
|
xbt_dict_t | SIMIX_process_get_properties (smx_process_t process) |
|
void | simcall_HANDLER_process_join (smx_simcall_t simcall, smx_process_t process, double timeout) |
|
static int | SIMIX_process_join_finish (smx_process_exit_status_t status, smx_synchro_t sync) |
|
smx_synchro_t | SIMIX_process_join (smx_process_t issuer, smx_process_t process, double timeout) |
|
void | simcall_HANDLER_process_sleep (smx_simcall_t simcall, double duration) |
|
smx_synchro_t | SIMIX_process_sleep (smx_process_t process, double duration) |
|
void | SIMIX_post_process_sleep (smx_synchro_t synchro) |
|
void | SIMIX_process_sleep_destroy (smx_synchro_t synchro) |
|
void | SIMIX_process_sleep_suspend (smx_synchro_t synchro) |
|
void | SIMIX_process_sleep_resume (smx_synchro_t synchro) |
|
void | SIMIX_process_yield (smx_process_t self) |
| Calling this function makes the process to yield. More...
|
|
xbt_running_ctx_t * | SIMIX_process_get_running_context (void) |
|
void | SIMIX_process_exception_terminate (xbt_ex_t *e) |
|
smx_context_t | SIMIX_process_get_context (smx_process_t p) |
|
void | SIMIX_process_set_context (smx_process_t p, smx_context_t c) |
|
xbt_dynar_t | SIMIX_process_get_runnable (void) |
| Returns the list of processes to run. More...
|
|
smx_process_t | SIMIX_process_from_PID (int PID) |
| Returns the process from PID. More...
|
|
xbt_dynar_t | SIMIX_processes_as_dynar (void) |
| returns a dynar containg all currently existing processes More...
|
|
void | SIMIX_process_on_exit_runall (smx_process_t process) |
|
void | SIMIX_process_on_exit (smx_process_t process, int_f_pvoid_pvoid_t fun, void *data) |
|
void | SIMIX_process_auto_restart_set (smx_process_t process, int auto_restart) |
| Sets the auto-restart status of the process. More...
|
|
smx_process_t | simcall_HANDLER_process_restart (smx_simcall_t simcall, smx_process_t process) |
|
smx_process_t | SIMIX_process_restart (smx_process_t process, smx_process_t issuer) |
| Restart a process, starting it again from the beginning. More...
|
|
void | SIMIX_segment_index_set (smx_process_t proc, int index) |
|