ThreadSchedule 2.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
scheduled_pool.hpp File Reference

Delayed and periodic task scheduling on top of any pool type. More...

#include "expected.hpp"
#include "thread_pool.hpp"
#include <atomic>
#include <chrono>
#include <functional>
#include <map>
#include <memory>
#include <mutex>
#include <thread>
Include dependency graph for scheduled_pool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::ScheduledTaskHandle
 Copyable handle for a cancellable scheduled task. More...
class  threadschedule::ScheduledThreadPoolT< PoolType >
 Thread pool augmented with delayed and periodic task scheduling. More...
struct  threadschedule::ScheduledThreadPoolT< PoolType >::ScheduledTaskInfo

Namespaces

namespace  threadschedule

Typedefs

using threadschedule::ScheduledThreadPool = ScheduledThreadPoolT<ThreadPool>
 ScheduledThreadPoolT using the default ThreadPool backend.
using threadschedule::ScheduledHighPerformancePool = ScheduledThreadPoolT<HighPerformancePool>
 ScheduledThreadPoolT using HighPerformancePool as backend.
using threadschedule::ScheduledFastThreadPool = ScheduledThreadPoolT<FastThreadPool>
 ScheduledThreadPoolT using FastThreadPool as backend.
using threadschedule::ScheduledLightweightPool = ScheduledThreadPoolT<LightweightPool>
 ScheduledThreadPoolT using LightweightPool as backend (minimal overhead).

Detailed Description

Delayed and periodic task scheduling on top of any pool type.

Definition in file scheduled_pool.hpp.