SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::kernel::context::SerialRawContext Class Reference

#include <ContextRaw.hpp>

Inheritance diagram for simgrid::kernel::context::SerialRawContext:
simgrid::kernel::context::RawContext simgrid::kernel::context::Context

Public Member Functions

 SerialRawContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process)
 
void suspend () override
 
void resume () override
 
- Public Member Functions inherited from simgrid::kernel::context::RawContext
 RawContext (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process)
 
 ~RawContext () override
 
void stop () override
 
- 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 ()
 

Static Public Member Functions

static void run_all ()
 
- Static Public Member Functions inherited from simgrid::kernel::context::RawContext
static void swap (RawContext *from, RawContext *to)
 
static RawContextgetMaestro ()
 
static void setMaestro (RawContext *maestro)
 

Additional Inherited Members

- Public Attributes inherited from simgrid::kernel::context::Context
bool iwannadie
 

Constructor & Destructor Documentation

◆ SerialRawContext()

simgrid::kernel::context::SerialRawContext::SerialRawContext ( std::function< void()>  code,
void_pfn_smxprocess_t  cleanup_func,
smx_actor_t  process 
)
inline

Member Function Documentation

◆ suspend()

void simgrid::kernel::context::SerialRawContext::suspend ( )
overridevirtual

◆ resume()

void simgrid::kernel::context::SerialRawContext::resume ( )
overridevirtual

◆ run_all()

void simgrid::kernel::context::SerialRawContext::run_all ( )
static

The documentation for this class was generated from the following files: