|
SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <cstdint>#include <memory>#include <functional>#include <utility>#include <simgrid/simix.hpp>#include "mc/mc.h"#include <src/simix/smx_private.h>#include <src/simix/smx_private.hpp>Namespaces | |
| simgrid | |
| simgrid::simix | |
Functions | |
| void | SIMIX_process_set_cleanup_function (smx_process_t process, void_pfn_smxprocess_t cleanup) |
| smx_context_t | SIMIX_context_new (xbt_main_func_t code, int argc, char **argv, void_pfn_smxprocess_t cleanup_func, smx_process_t simix_process) |
| creates a new context for a user level process More... | |
Variables | |
| ContextFactoryInitializer | simgrid::simix::factory_initializer = nullptr |
| void SIMIX_process_set_cleanup_function | ( | smx_process_t | process, |
| void_pfn_smxprocess_t | cleanup | ||
| ) |
| smx_context_t SIMIX_context_new | ( | xbt_main_func_t | code, |
| int | argc, | ||
| char ** | argv, | ||
| void_pfn_smxprocess_t | cleanup_func, | ||
| smx_process_t | simix_process | ||
| ) |
creates a new context for a user level process
| code | a main function |
| argc | the number of arguments of the main function |
| argv | the vector of arguments of the main function |
| cleanup_func | the function to call when the context stops |
| cleanup_arg | the argument of the cleanup_func function |