|
SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <stdarg.h>#include <functional>#include <ucontext.h>#include "xbt/parmap.h"#include "src/simix/smx_private.h"#include "src/simix/smx_private.hpp"#include "src/internal_config.h"#include "mc/mc.h"Classes | |
| class | simgrid::simix::UContext |
| class | simgrid::simix::SerialUContext |
| class | simgrid::simix::ParallelUContext |
| class | simgrid::simix::UContextFactory |
Namespaces | |
| simgrid | |
| simgrid::simix | |
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,...) |
| XBT_PRIVATE ContextFactory * | simgrid::simix::sysv_factory () |
Variables | |
| static unsigned long | sysv_process_index = 0 |
| static simgrid::simix::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 |