|
ThreadSchedule 3.0.0
Modern C++ thread management library
|
#include <facade.hpp>
Public Member Functions | |
| lightweight_pool_facade (worker_count count, worker_registration registration) | |
| lightweight_pool_facade (lightweight_pool_facade const &)=delete | |
| auto | operator= (lightweight_pool_facade const &) -> lightweight_pool_facade &=delete |
| lightweight_pool_facade (lightweight_pool_facade &&other) noexcept | |
| auto | operator= (lightweight_pool_facade &&other) noexcept -> lightweight_pool_facade & |
| template<typename F , typename... Args> | |
| auto | post (F &&function, Args &&... args) -> result< void > |
| template<typename F , typename... Args> | |
| void | post_or_throw (F &&function, Args &&... args) |
| auto | configure_workers (thread_config const &config) -> result< void > |
| auto | distribute_workers () -> result< void > |
| auto | shutdown (shutdown_policy policy=shutdown_policy::drain) -> result< void > |
| auto | shutdown_for (std::chrono::milliseconds timeout) -> result< bool > |
| auto | size () const noexcept -> std::size_t |
| auto | is_current_worker () const noexcept -> bool |
Protected Member Functions | |
| ~lightweight_pool_facade () | |
Definition at line 284 of file pool/facade.hpp.
|
inlineexplicit |
Definition at line 287 of file pool/facade.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 294 of file pool/facade.hpp.
|
inlineprotected |
Definition at line 375 of file pool/facade.hpp.
References threadschedule::detail::dispose_pool_backend().
|
inline |
Definition at line 326 of file pool/facade.hpp.
References threadschedule::detail::to_native(), and threadschedule::detail::try_result().
|
inline |
Definition at line 334 of file pool/facade.hpp.
References threadschedule::detail::try_result().
|
inlinenoexcept |
Definition at line 369 of file pool/facade.hpp.
|
inlinenoexcept |
Definition at line 296 of file pool/facade.hpp.
References threadschedule::detail::dispose_pool_backend(), and threadschedule::detail::other.
|
delete |
|
inline |
Definition at line 308 of file pool/facade.hpp.
References threadschedule::detail::try_result().
Referenced by threadschedule::detail::lightweight_pool_facade< Backend >::post_or_throw().
|
inline |
Definition at line 318 of file pool/facade.hpp.
References threadschedule::detail::lightweight_pool_facade< Backend >::post().
|
inline |
Definition at line 342 of file pool/facade.hpp.
References threadschedule::detail::to_native(), and threadschedule::detail::try_result().
|
inline |
Definition at line 355 of file pool/facade.hpp.
References threadschedule::detail::try_result().
|
inlinenoexcept |
Definition at line 363 of file pool/facade.hpp.