SimGrid
3.16
Versatile Simulation of Distributed Systems
|
#include <ContextThread.hpp>
Public Member Functions | |
ThreadContextFactory () | |
~ThreadContextFactory () override | |
ThreadContext * | create_context (std::function< void()> code, void_pfn_smxprocess_t cleanup_func, smx_actor_t process) override |
void | run_all () override |
ThreadContext * | self () override |
ThreadContext * | attach (void_pfn_smxprocess_t cleanup_func, smx_actor_t process) override |
Creates a context from the current context of execution. More... | |
ThreadContext * | create_maestro (std::function< void()> code, smx_actor_t process) override |
![]() | |
ContextFactory (std::string name) | |
virtual | ~ContextFactory () |
std::string const & | name () const |
Additional Inherited Members | |
![]() | |
template<class T , class... Args> | |
T * | new_context (Args &&... args) |
simgrid::kernel::context::ThreadContextFactory::ThreadContextFactory | ( | ) |
|
override |
|
overridevirtual |
Implements simgrid::kernel::context::ContextFactory.
|
overridevirtual |
Implements simgrid::kernel::context::ContextFactory.
|
overridevirtual |
Reimplemented from simgrid::kernel::context::ContextFactory.
|
overridevirtual |
Creates a context from the current context of execution.
This will not work on all implementation of ContextFactory
.
Reimplemented from simgrid::kernel::context::ContextFactory.
|
overridevirtual |
Reimplemented from simgrid::kernel::context::ContextFactory.