ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
inline_pool_backend.hpp File Reference

inline_pool_backend: deterministic, single-threaded pool for unit testing. More...

#include "../../expected.hpp"
#include "../callable/bind.hpp"
#include "backend.hpp"
#include "worker_context_guard.hpp"
#include <functional>
#include <future>
#include <system_error>
#include <type_traits>
#include <vector>
Include dependency graph for inline_pool_backend.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::detail::inline_pool_backend
 A pool that executes every task inline on the calling thread. More...
 

Namespaces

namespace  threadschedule
 
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.
 

Detailed Description

inline_pool_backend: deterministic, single-threaded pool for unit testing.

Executes every task synchronously on the calling thread. Has the same submit/post/try_submit/try_post API surface as thread_pool_backend so it can be used as a drop-in template argument in generic code that is parameterized on pool type.

Definition in file inline_pool_backend.hpp.