|
ThreadSchedule 4.1.0
Modern C++ thread management library
|
Functions | |
| template<typename Control> | |
| auto | configure (Control &control, thread_config const &config) -> result< void > |
| template<typename Control> | |
| auto | set_priority (Control &control, priority_level level) -> result< void > |
| template<typename Control> | |
| auto | set_nice (Control &control, nice_value value) -> result< void > |
| auto | get_priority (result< int > value) -> result< priority_level > |
| auto | get_nice (result< int > value) -> result< nice_value > |
| template<typename Control> | |
| auto | set_affinity (Control &control, thread_affinity const &affinity) -> result< void > |
| auto | get_affinity (result< native_thread_affinity > affinity) -> result< thread_affinity > |
| auto threadschedule::detail::portable_thread_control::configure | ( | Control & | control, |
| thread_config const & | config )->result< void > |
Definition at line 191 of file control.hpp.
References threadschedule::detail::to_native(), and threadschedule::detail::try_result().
Referenced by threadschedule::this_thread::configure(), threadschedule::thread::configure(), and threadschedule::thread_view::configure().
|
inlinenodiscard |
Definition at line 234 of file control.hpp.
References threadschedule::detail::from_native(), and threadschedule::unexpected().
Referenced by threadschedule::advanced::thread_by_name_view::get_affinity(), threadschedule::this_thread::get_affinity(), threadschedule::thread::get_affinity(), and threadschedule::thread_view::get_affinity().
|
inlinenodiscard |
Definition at line 219 of file control.hpp.
References threadschedule::nice_value::create(), and threadschedule::unexpected().
Referenced by threadschedule::advanced::thread_by_name_view::get_nice(), threadschedule::this_thread::get_nice(), threadschedule::thread::get_nice(), threadschedule::thread_registry::get_nice(), and threadschedule::thread_view::get_nice().
|
inlinenodiscard |
Definition at line 211 of file control.hpp.
References threadschedule::detail::to_priority_level(), and threadschedule::unexpected().
Referenced by threadschedule::advanced::thread_by_name_view::get_priority(), threadschedule::this_thread::get_priority(), threadschedule::thread::get_priority(), and threadschedule::thread_view::get_priority().
| auto threadschedule::detail::portable_thread_control::set_affinity | ( | Control & | control, |
| thread_affinity const & | affinity )->result< void > |
Definition at line 228 of file control.hpp.
References threadschedule::detail::to_native(), and threadschedule::detail::try_result().
Referenced by threadschedule::this_thread::set_affinity(), threadschedule::thread::set_affinity(), and threadschedule::thread_view::set_affinity().
| auto threadschedule::detail::portable_thread_control::set_nice | ( | Control & | control, |
| nice_value | value )->result< void > |
Definition at line 205 of file control.hpp.
References threadschedule::detail::native_schedule::posix_nice().
Referenced by threadschedule::this_thread::set_nice(), threadschedule::thread::set_nice(), and threadschedule::thread_view::set_nice().
| auto threadschedule::detail::portable_thread_control::set_priority | ( | Control & | control, |
| priority_level | level )->result< void > |
Definition at line 198 of file control.hpp.
References threadschedule::detail::native_schedule::posix_nice().
Referenced by threadschedule::this_thread::set_priority(), threadschedule::thread::set_priority(), and threadschedule::thread_view::set_priority().