|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <ucontext.h>#include "mc/mc.h"#include "src/simix/ActorImpl.hpp"#include "src/simix/smx_private.h"#include "xbt/parmap.h"Classes | |
| class | simgrid::kernel::context::UContext |
| class | simgrid::kernel::context::SerialUContext |
| class | simgrid::kernel::context::ParallelUContext |
| class | simgrid::kernel::context::UContextFactory |
Namespaces | |
| simgrid | |
| Host datatype from SIMIX POV. | |
| simgrid::kernel | |
| simgrid::kernel::context | |
Macros | |
| #define | CTX_ADDR_LEN |
| Many integers are needed to store a pointer. More... | |
Functions | |
| static void | simgrid_makecontext (ucontext_t *ucp, void(*func)(int first,...), void *arg) |
| A better makecontext. More... | |
| XBT_LOG_EXTERNAL_DEFAULT_CATEGORY (simix_context) | |
| static void | smx_ctx_sysv_wrapper (int first,...) |
| ContextFactory * | simgrid::kernel::context::sysv_factory () |
Variables | |
| static unsigned long | sysv_process_index = 0 |
| static simgrid::kernel::context::UContext * | sysv_maestro_context |
| static bool | sysv_parallel |
| #define CTX_ADDR_LEN |
Many integers are needed to store a pointer.
This is a bit paranoid about sizeof(smx_ctx_sysv_t) not being a multiple of sizeof(int), but it doesn't harm.
|
static |
A better makecontext.
Makecontext expects integer arguments, we the context variable is decomposed into a serie of integers and each integer is passed as argument to makecontext.
| XBT_LOG_EXTERNAL_DEFAULT_CATEGORY | ( | simix_context | ) |
|
static |
|
static |
|
static |
|
static |