engine-mk1
Classes | Typedefs
rz::taskscheduler Namespace Reference

Task schedulers enable easy concurrency by packaging logic into tasks that can be run in an ordered manner. More...

Classes

struct  Task
 A data structure for representing a Task. More...
 
class  TaskScheduler
 Creates and manages worker threads that work on dependency based Task lists. More...
 
struct  WorkGraphData
 The data to be held by the TaskGraph. More...
 
struct  WorkGroup
 

Typedefs

using TaskList = std::list< Task >
 
using WorkFunc = std::function< void()>
 
using WorkGraph = rz::graph::Graph< WorkGroup, char, WorkGraphData >
 
using WorkGraphVertex = rz::graph::Vertex< WorkGroup, char >
 
using WorkGraphEdge = rz::graph::Edge< char >
 

Detailed Description

Task schedulers enable easy concurrency by packaging logic into tasks that can be run in an ordered manner.

Typedef Documentation

using rz::taskscheduler::TaskList = typedef std::list<Task>

using rz::taskscheduler::WorkFunc = typedef std::function<void()>