|
ThreadSchedule 3.0.0
Modern C++ thread management library
|
Builder-style configuration for scheduled_pool. More...
#include <scheduled_pool.hpp>
Public Member Functions | |
| auto | set_worker_count (worker_count value) noexcept -> scheduled_pool_config & |
| Set number of worker threads executing scheduled callbacks. | |
| auto | set_registration (worker_registration value) noexcept -> scheduled_pool_config & |
| Configure registry registration behavior for scheduler workers. | |
| auto | set_worker_config (thread_config value) -> scheduled_pool_config & |
| Set configuration applied to worker threads. | |
| auto | set_scheduler_config (thread_config value) -> scheduled_pool_config & |
| Set configuration applied to the scheduler coordination thread. | |
| auto | set_shutdown_policy (shutdown_policy value) noexcept -> scheduled_pool_config & |
| Set shutdown behavior for pending scheduled tasks. | |
| auto | set_error_callback (error_callback value) -> scheduled_pool_config & |
| Set callback invoked when scheduled callbacks throw. | |
| auto | get_worker_count () const noexcept -> worker_count |
| Return configured worker count. | |
| auto | get_registration () const noexcept -> worker_registration |
| Return configured worker registration mode. | |
| auto | get_worker_config () const noexcept -> thread_config const & |
| Return worker-thread configuration. | |
| auto | get_scheduler_config () const noexcept -> thread_config const & |
| Return scheduler-thread configuration. | |
| auto | get_shutdown_policy () const noexcept -> shutdown_policy |
| Return configured shutdown policy. | |
| auto | get_error_callback () const noexcept -> error_callback const & |
| Return configured asynchronous error callback. | |
Builder-style configuration for scheduled_pool.
Definition at line 34 of file scheduled_pool.hpp.
|
inlinenoexcept |
Return configured asynchronous error callback.
Definition at line 112 of file scheduled_pool.hpp.
|
inlinenoexcept |
Return configured worker registration mode.
Definition at line 88 of file scheduled_pool.hpp.
|
inlinenoexcept |
Return scheduler-thread configuration.
Definition at line 100 of file scheduled_pool.hpp.
Referenced by threadschedule::scheduled_pool::scheduled_pool().
|
inlinenoexcept |
Return configured shutdown policy.
Definition at line 106 of file scheduled_pool.hpp.
Referenced by threadschedule::scheduled_pool::shutdown().
|
inlinenoexcept |
Return worker-thread configuration.
Definition at line 94 of file scheduled_pool.hpp.
Referenced by threadschedule::scheduled_pool::scheduled_pool().
|
inlinenoexcept |
Return configured worker count.
Definition at line 82 of file scheduled_pool.hpp.
|
inline |
Set callback invoked when scheduled callbacks throw.
Definition at line 74 of file scheduled_pool.hpp.
|
inlinenoexcept |
Configure registry registration behavior for scheduler workers.
Definition at line 46 of file scheduled_pool.hpp.
|
inline |
Set configuration applied to the scheduler coordination thread.
Definition at line 60 of file scheduled_pool.hpp.
|
inlinenoexcept |
Set shutdown behavior for pending scheduled tasks.
Definition at line 67 of file scheduled_pool.hpp.
|
inline |
Set configuration applied to worker threads.
Definition at line 53 of file scheduled_pool.hpp.
|
inlinenoexcept |
Set number of worker threads executing scheduled callbacks.
Definition at line 39 of file scheduled_pool.hpp.