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