ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
pool/backend.hpp
Go to the documentation of this file.
1#pragma once
2
9#include "../../expected.hpp"
10#include "../callable/bind.hpp"
11#include "../callable/move_only_function.hpp"
12#include "../registry/backend.hpp"
13#include "../scheduling/native.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"
Process-wide pool facades and global parallel helpers.
Blocking idle-wait strategy for queue-based pools.
Low-overhead fire-and-forget pool implementation.
Timed idle-wait strategy for queue-based pools.
Shared-queue pool implementation and public detail aliases.
Work-stealing deque and pool implementation.
Worker identity, CPU selection, and registration helpers.