|
gtsam
|
Cooperative task scheduler. More...
Go to the source code of this file.
Classes | |
| struct | gtsam::detail::TaskSchedulerPolicy |
| Queue policy for TaskScheduler: deque with local LIFO and stolen FIFO. More... | |
Namespaces | |
| namespace | gtsam |
| Global functions in a separate testing namespace. | |
Typedefs | |
| template<typename Y> | |
| using | gtsam::TaskScheduler = Scheduler<Y, detail::TaskSchedulerPolicy> |
| Thread pool scheduler that executes tasks without priority ordering. | |
Cooperative task scheduler.
This header defines a small, thread-based scheduler that executes tasks in a cooperative manner without priority ordering. Tasks return a value of type Y, and callers can wait on results via std::future<Y>.
This is implemented as a policy specialization of gtsam::Scheduler.