ThreadSchedule 1.0.0
Modern C++ thread management library
|
Public Member Functions | |
ThreadWrapperView (std::thread &t) | |
auto | get () noexcept -> std::thread & |
auto | get () const noexcept -> std::thread const & |
Public Member Functions inherited from threadschedule::BaseThreadWrapper< std::thread, detail::NonOwningTag > | |
void | join () |
void | detach () |
auto | joinable () const noexcept -> bool |
auto | get_id () const noexcept -> id |
auto | native_handle () noexcept -> native_handle_type |
auto | set_name (std::string const &name) -> expected< void, std::error_code > |
auto | get_name () const -> std::optional< std::string > |
auto | set_priority (ThreadPriority priority) -> expected< void, std::error_code > |
auto | set_scheduling_policy (SchedulingPolicy policy, ThreadPriority priority) -> expected< void, std::error_code > |
auto | set_affinity (ThreadAffinity const &affinity) -> expected< void, std::error_code > |
auto | get_affinity () const -> std::optional< ThreadAffinity > |
Additional Inherited Members | |
Public Types inherited from threadschedule::BaseThreadWrapper< std::thread, detail::NonOwningTag > | |
using | native_handle_type |
using | id |
Static Public Member Functions inherited from threadschedule::BaseThreadWrapper< std::thread, detail::NonOwningTag > | |
static auto | set_nice_value (int nice_value) -> bool |
static auto | get_nice_value () -> std::optional< int > |
Definition at line 508 of file thread_wrapper.hpp.
|
inline |
Definition at line 511 of file thread_wrapper.hpp.
|
inlinenodiscardnoexcept |
Definition at line 520 of file thread_wrapper.hpp.
|
inlinenoexcept |
Definition at line 516 of file thread_wrapper.hpp.