SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <cstdint>
#include <memory>
#include <functional>
#include <utility>
#include <simgrid/simix.hpp>
#include "mc/mc.h"
#include "src/kernel/context/Context.hpp"
#include "src/simix/smx_private.h"
Namespaces | |
simgrid | |
Host datatype from SIMIX POV. | |
simgrid::kernel | |
simgrid::kernel::context | |
Functions | |
smx_context_t | SIMIX_context_new (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t simix_process) |
creates a new context for a user level process More... | |
void | SIMIX_context_runall () |
Executes all the processes to run (in parallel if possible). More... | |
smx_context_t | SIMIX_context_self () |
returns the current running context More... | |
Variables | |
ContextFactoryInitializer | simgrid::kernel::context::factory_initializer = nullptr |
smx_context_t SIMIX_context_new | ( | std::function< void()> | code, |
void_pfn_smxprocess_t | cleanup_func, | ||
smx_actor_t | simix_process | ||
) |
creates a new context for a user level process
code | a main function |
cleanup_func | the function to call when the context stops |
void SIMIX_context_runall | ( | ) |
Executes all the processes to run (in parallel if possible).
smx_context_t SIMIX_context_self | ( | ) |
returns the current running context