Class task_allocator
Defined in File task_allocator.hpp
Inheritance Relationships
Base Type
public boost::static_visitor< polled_task * >
Class Documentation
-
class task_allocator : public boost::static_visitor<polled_task*>
Maps the task data structure to its variant, and then applies the corresponding allocation policy to the mapped variant to allocate a task.
Public Functions
-
task_allocator(const task_allocator&) = delete
-
inline polled_task *operator()(ds::bi_tdgraph &graph, const polled_task *last_task, size_t alloc_count) const
-
task_allocator &operator=(const task_allocator&) = delete
-
task_allocator(const task_allocator&) = delete