|
SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <ContextUnix.hpp>
Public Member Functions | |
| UContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process) | |
| ~UContext () override | |
| void | stop () override |
| virtual void | resume ()=0 |
Public Member Functions inherited from simgrid::kernel::context::Context | |
| 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 | suspend ()=0 |
Static Public Member Functions | |
| static void | swap (UContext *from, UContext *to) |
| static UContext * | getMaestro () |
| static void | setMaestro (UContext *maestro) |
Additional Inherited Members | |
Public Attributes inherited from simgrid::kernel::context::Context | |
| bool | iwannadie |
| simgrid::kernel::context::UContext::UContext | ( | std::function< void()> | code, |
| void_pfn_smxprocess_t | cleanup_func, | ||
| smx_actor_t | process | ||
| ) |
|
override |
|
overridevirtual |
Reimplemented from simgrid::kernel::context::Context.
|
pure virtual |
Implemented in simgrid::kernel::context::SerialUContext.
|
inlinestatic |
|
inlinestatic |