SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <simix.hpp>
Public Member Functions | |
AttachContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_process_t process) | |
~AttachContext () | |
virtual void | attach_start ()=0 |
Called by the context when it is ready to give control to the maestro. More... | |
virtual void | attach_stop ()=0 |
Called by the context when it has finished its job. More... | |
![]() | |
Context (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_process_t process) | |
void | operator() () |
bool | has_code () const |
smx_process_t | process () |
void | set_cleanup (void_pfn_smxprocess_t cleanup) |
virtual | ~Context () |
virtual void | stop () |
virtual void | suspend ()=0 |
Additional Inherited Members | |
![]() | |
bool | iwannadie |
|
inline |
simgrid::simix::AttachContext::~AttachContext | ( | ) |
|
pure virtual |
Called by the context when it is ready to give control to the maestro.
Implemented in simgrid::simix::ThreadContext.
|
pure virtual |
Called by the context when it has finished its job.
Implemented in simgrid::simix::ThreadContext.