ThreadSchedule 4.1.0
Modern C++ thread management library
Loading...
Searching...
No Matches
pool/backend.hpp
Go to the documentation of this file.
1#pragma once
2
8
9#include "../../expected.hpp"
10#include "../callable/bind.hpp"
14#include "../thread_backend.hpp"
15#include "callbacks.hpp"
16#include <algorithm>
17#include <array>
18#include <atomic>
19#include <condition_variable>
20#include <cstddef>
21#include <cstdint>
22#include <future>
23#include <mutex>
24#include <optional>
25#include <queue>
26#include <random>
27#include <shared_mutex>
28#include <string>
29#include <system_error>
30#include <tuple>
31#include <type_traits>
32#include <vector>
33
34// These implementation fragments form a dependency chain; keep this order.
36#include "indefinite_wait.hpp"
38#include "polling_wait.hpp"
C++17 callable and argument binding with move-only support.
Stable library-owned expected implementation for ThreadSchedule APIs.
Process-wide pool facades and global parallel helpers.
Blocking idle-wait strategy for queue-based pools.
Low-overhead fire-and-forget pool implementation.
Scheduling policies, thread priority, and CPU affinity types.
Timed idle-wait strategy for queue-based pools.
C++17 thread wrappers and non-owning views.
Shared-queue pool implementation and public detail aliases.
Work-stealing deque and pool implementation.
Worker identity, CPU selection, and registration helpers.