SimGrid
3.18
Versatile Simulation of Distributed Systems
Home page
Online documentation
Java documentation
Dev's Corner
List of all members
|
Public Member Functions
|
Static Public Member Functions
simgrid::kernel::context::SerialThreadContext Class Reference
#include <ContextThread.hpp>
Inheritance diagram for simgrid::kernel::context::SerialThreadContext:
Public Member Functions
SerialThreadContext
(
std::function
<
void
()> code,
void_pfn_smxprocess_t
cleanup_func,
smx_actor_t
process
, bool maestro)
Public Member Functions inherited from
simgrid::kernel::context::ThreadContext
ThreadContext
(
std::function
<
void
()> code,
void_pfn_smxprocess_t
cleanup_func,
smx_actor_t
process
, bool maestro)
~ThreadContext
() override
void
stop
() override
void
suspend
() override
void
attach_start
() override
Called by the context when it is ready to give control to the maestro.
More...
void
attach_stop
() override
Called by the context when it has finished its job.
More...
bool
isMaestro
() const
void
release
()
void
wait
()
Public Member Functions inherited from
simgrid::kernel::context::AttachContext
AttachContext
(
std::function
<
void
()> code,
void_pfn_smxprocess_t
cleanup_func,
smx_actor_t
process
)
~AttachContext
() 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
()
Additional Inherited Members
Public Attributes inherited from
simgrid::kernel::context::Context
bool
iwannadie
Constructor & Destructor Documentation
◆
SerialThreadContext()
simgrid::kernel::context::SerialThreadContext::SerialThreadContext
(
std::function
<
void
()>
code
,
void_pfn_smxprocess_t
cleanup_func
,
smx_actor_t
process
,
bool
maestro
)
inline
Member Function Documentation
◆
run_all()
void
simgrid::kernel::context::SerialThreadContext::run_all
(
)
static
The documentation for this class was generated from the following files:
src/kernel/context/
ContextThread.hpp
src/kernel/context/
ContextThread.cpp
simgrid
kernel
context
SerialThreadContext
Generated by
1.8.13