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

Thread pools: work_stealing_pool_backend, thread_pool_backend_base, lightweight_pool_backend_base, and global_pool_backend. More...

#include "detail/pool/backend.hpp"
#include "detail/pool/shutdown.hpp"
#include "detail/thread/control.hpp"
#include "shutdown_policy.hpp"
#include "task_error.hpp"
#include "thread_config.hpp"
#include "worker_count.hpp"
#include "worker_registration.hpp"
#include <cstddef>
#include <future>
#include <memory>
#include <system_error>
#include <thread>
#include <type_traits>
#include <utility>
Include dependency graph for thread_pool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::thread_pool_config
 Builder-style configuration for thread_pool. More...
 
class  threadschedule::thread_pool
 Fixed-size thread pool for queued asynchronous work. More...
 

Namespaces

namespace  threadschedule
 

Detailed Description

Thread pools: work_stealing_pool_backend, thread_pool_backend_base, lightweight_pool_backend_base, and global_pool_backend.

Fixed-size worker pool for asynchronous task execution.

Definition in file thread_pool.hpp.