Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Scheduler abstraction to manage graph's threads. More...
#include "scheduler.h"
Public Member Functions | |
Scheduler ()=default | |
Scheduler default constructor. | |
virtual | ~Scheduler ()=default |
Scheduler default destructor. | |
virtual std::unique_ptr< Scheduler > | create () const =0 |
Definition of virtual constructor. | |
virtual void | spawnThreads (std::set< core::abstraction::NodeAbstraction * > const &cores, bool waitForInitialization)=0 |
Spawn the threads of a graph. | |
virtual void | joinAll ()=0 |
Method waiting for all graph's threads termination, called when Graph::waitForTermination() is called. | |
Scheduler abstraction to manage graph's threads.
Definition at line 32 of file scheduler.h.
|
default |
Scheduler default constructor.
|
virtualdefault |
Scheduler default destructor.
|
pure virtual |
Definition of virtual constructor.
Implemented in hh::DefaultScheduler.
|
pure virtual |
Method waiting for all graph's threads termination, called when Graph::waitForTermination() is called.
Implemented in hh::DefaultScheduler.
|
pure virtual |
Spawn the threads of a graph.
cores | Cores of every nodes in a graph |
waitForInitialization | Wait for internal nodes to be initialized flags |
Implemented in hh::DefaultScheduler.