libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
Make sure the kernel-thread is always joined in the dtor. More...
#include <jthread.hpp>
Inherits std::thread.
Public Types | |
using | base_t = std::thread |
using | os_traits = thread_os_traits< ppd::platform_api, ppd::heavyweight_threading > |
using | thread_traits = typename os_traits::thread_traits |
Public Member Functions | |
~jthread () | |
void | operator= (jthread &&) noexcept(true) |
void __fastcall | kernel_priority (const typename thread_traits::api_params_type::priority_type priority) noexcept(false) |
void __fastcall | kernel_affinity (const typename thread_traits::api_params_type::processor_mask_type &mask) noexcept(false) |
void __fastcall | set_name (char const *name) noexcept(false) |
bool | is_running () const noexcept(true) |
Make sure the kernel-thread is always joined in the dtor.
Definition at line 33 of file jthread.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::jthread::base_t = std::thread |
Definition at line 34 of file jthread.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::jthread::os_traits = thread_os_traits<ppd::platform_api, ppd::heavyweight_threading> |
Definition at line 35 of file jthread.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::jthread::thread_traits = typename os_traits::thread_traits |
Definition at line 36 of file jthread.hpp.
|
inline |
Definition at line 51 of file jthread.hpp.
|
inlinenoexcept |
Definition at line 78 of file jthread.hpp.
Referenced by main().
|
inlinenoexcept |
Definition at line 68 of file jthread.hpp.
|
inlinenoexcept |
Definition at line 63 of file jthread.hpp.
|
inlinenoexcept |
Definition at line 58 of file jthread.hpp.
|
inlinenoexcept |
Definition at line 73 of file jthread.hpp.
Referenced by isimud::ISIMUD_VER_NAMESPACE::exchanges::common::server_hb_t< MsgT, MissedHbs, HbInterval >::server_hb_t().