|
| | registered_thread_backend ()=default |
| |
| | registered_thread_backend (registered_thread_backend &&) noexcept=default |
| |
| auto | operator= (registered_thread_backend &&) noexcept -> registered_thread_backend &=default |
| |
| | registered_thread_backend (registered_thread_backend const &)=delete |
| |
| auto | operator= (registered_thread_backend const &) -> registered_thread_backend &=delete |
| |
| template<typename F , typename... Args> |
| | registered_thread_backend (std::string name, std::string component, F &&f, Args &&... args) |
| |
| | thread_backend ()=default |
| |
| auto | get () noexcept -> std::thread & |
| |
| auto | get () const noexcept -> std::thread const & |
| |
| | thread_backend (std::thread &&t) noexcept |
| |
| | thread_backend (std::thread &&t, native_thread_id tid) noexcept |
| |
| template<typename F , typename... Args> |
| | thread_backend (F &&f, Args &&... args) |
| |
| | thread_backend (thread_backend const &)=delete |
| |
| auto | operator= (thread_backend const &) -> thread_backend &=delete |
| |
| | thread_backend (thread_backend &&other) noexcept |
| |
| auto | operator= (thread_backend &&other) noexcept -> thread_backend & |
| |
| | ~thread_backend () override |
| |
| auto | release () noexcept -> std::thread |
| |
| | operator std::thread () &&noexcept |
| |
| | basic_thread_backend ()=default |
| |
| | basic_thread_backend (std::thread &t) |
| |
| | basic_thread_backend (std::thread &t, native_thread_id tid) |
| |
| virtual | ~basic_thread_backend ()=default |
| |
| 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 -> expected< std::string, std::error_code > |
| |
| auto | set_priority (native_thread_priority priority) -> expected< void, std::error_code > |
| |
| auto | set_scheduling_policy (native_scheduling_policy policy, native_thread_priority priority) -> expected< void, std::error_code > |
| |
| auto | configure (native_scheduling_config const &config) -> expected< void, std::error_code > |
| |
| auto | configure (native_thread_config const &config) -> expected< void, std::error_code > |
| |
| auto | set_nice_value (int nice_value) -> expected< void, std::error_code > |
| |
| auto | get_nice_value () const -> expected< int, std::error_code > |
| |
| auto | set_affinity (native_thread_affinity const &affinity) -> expected< void, std::error_code > |
| |
| auto | get_affinity () const -> expected< native_thread_affinity, std::error_code > |
| |
| auto | native_id () const noexcept -> native_thread_id |
| |
thread_backend with automatic registration in the global thread_registry_backend.
Non-copyable, movable. On thread start the spawned thread auto-registers itself in the global registry() (via an auto_register_current_thread RAII guard) and auto-unregisters when the thread function returns. The name and component arguments are forwarded to the registry entry.
Definition at line 31 of file registered_thread_backend.hpp.