SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <ContextBoost.hpp>
Public Member Functions | |
SerialBoostContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process) | |
void | suspend () override |
void | resume () override |
![]() | |
BoostContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process) | |
~BoostContext () override | |
void | stop () override |
![]() | |
Context (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process) | |
void | operator() () |
bool | has_code () const |
smx_actor_t | process () |
void | set_cleanup (void_pfn_smxprocess_t cleanup) |
virtual | ~Context () |
Static Public Member Functions | |
static void | run_all () |
![]() | |
static void | swap (BoostContext *from, BoostContext *to) |
static BoostContext * | getMaestro () |
static void | setMaestro (BoostContext *maestro) |
Additional Inherited Members | |
![]() | |
bool | iwannadie |
|
inline |
|
overridevirtual |
Implements simgrid::kernel::context::Context.
|
overridevirtual |
Implements simgrid::kernel::context::BoostContext.
|
static |