|
smx_actor_t | SIMIX_process_create (const char *name, std::function< void()> code, void *data, sg_host_t host, xbt_dict_t properties, smx_actor_t parent_process) |
|
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_killall (smx_actor_t issuer, int reset_pid) |
| Kills all running processes. More...
|
|
void | SIMIX_process_cleanup (smx_actor_t arg) |
| Moves a process to the list of processes to destroy. More...
|
|
void | SIMIX_process_empty_trash () |
| Garbage collection. More...
|
|
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) |
|
void | SIMIX_process_change_host (smx_actor_t process, sg_host_t dest) |
|
void | SIMIX_process_resume (smx_actor_t process) |
|
int | SIMIX_process_get_PID (smx_actor_t self) |
|
void | SIMIX_process_set_data (smx_actor_t process, void *data) |
|
smx_actor_t | SIMIX_process_get_by_name (const char *name) |
|
int | SIMIX_process_is_suspended (smx_actor_t process) |
|
xbt_dict_t | SIMIX_process_get_properties (smx_actor_t process) |
|
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 | SIMIX_process_restart (smx_actor_t process, smx_actor_t issuer) |
| Restart a process, starting it again from the beginning. More...
|
|
void | SIMIX_segment_index_set (smx_actor_t process, int segment_index) |
|
void | SIMIX_process_sleep_destroy (smx_activity_t synchro) |
|
smx_activity_t | SIMIX_process_suspend (smx_actor_t process, smx_actor_t issuer) |
|
smx_activity_t | SIMIX_process_join (smx_actor_t issuer, smx_actor_t process, double timeout) |
|
smx_activity_t | SIMIX_process_sleep (smx_actor_t process, double duration) |
|
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.