SimGrid
3.13
Versatile Simulation of Distributed Systems
|
Public Member Functions | |
UContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_process_t process) | |
~UContext () | |
![]() | |
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 |
Public Attributes | |
friend | UContextFactory |
![]() | |
bool | iwannadie |
Protected Attributes | |
ucontext_t | uc_ |
char * | stack_ = nullptr |
simgrid::simix::UContext::UContext | ( | std::function< void()> | code, |
void_pfn_smxprocess_t | cleanup_func, | ||
smx_process_t | process | ||
) |
simgrid::simix::UContext::~UContext | ( | ) |
|
protected |
|
protected |
friend simgrid::simix::UContext::UContextFactory |