#include <health_monitor_thread.h>
◆ Thread() [1/2]
◆ Thread() [2/2]
| hm::Thread::Thread |
( |
const char * |
name, |
|
|
const char * |
instr_name, |
|
|
const char * |
os_name, |
|
|
const char * |
desc |
|
) |
| |
◆ ~Thread()
◆ cleanup()
| void hm::Thread::cleanup |
( |
| ) |
|
|
static |
Cleanup thread instrumentation.
◆ join()
◆ join_thread()
| void hm::Thread::join_thread |
( |
| ) |
|
|
protected |
Wait for a stopped worker to exit.
◆ joinable()
◆ name()
| const char * hm::Thread::name |
( |
| ) |
const |
|
inline |
◆ post_process()
| virtual void hm::Thread::post_process |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ pre_process()
| virtual void hm::Thread::pre_process |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ process()
| virtual void hm::Thread::process |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ request_thread_stop()
| void hm::Thread::request_thread_stop |
( |
| ) |
|
|
protected |
Request that the worker stop without waiting for it to exit.
◆ run_process()
| void hm::Thread::run_process |
( |
| ) |
|
|
virtual |
◆ running()
| virtual bool hm::Thread::running |
( |
| ) |
const |
|
inlinevirtual |
◆ signal()
| void hm::Thread::signal |
( |
| ) |
|
Signal the processing loop to end the current cycle.
◆ start()
| int hm::Thread::start |
( |
| ) |
|
|
virtual |
◆ start_thread()
| int hm::Thread::start_thread |
( |
| ) |
|
|
protected |
◆ stop()
| void hm::Thread::stop |
( |
| ) |
|
|
virtual |
◆ stop_requested()
| bool hm::Thread::stop_requested |
( |
| ) |
|
|
protected |
Return true when worker shutdown has been requested.
◆ stop_thread()
| void hm::Thread::stop_thread |
( |
| ) |
|
|
protected |
◆ m_command_lock
| std::mutex hm::Thread::m_command_lock |
|
protected |
◆ m_cond_info
Initial value:
const std::string m_instr_name
Definition: health_monitor_thread.h:77
PSI_cond_key m_cond_key
Definition: health_monitor_thread.h:99
#define PSI_DOCUMENT_ME
Definition: component_common.h:29
#define PSI_FLAG_SINGLETON
Singleton flag.
Definition: component_common.h:35
#define PSI_VOLATILITY_PROVISIONING
Definition: psi_bits.h:155
◆ m_cond_key
◆ m_description
| const std::string hm::Thread::m_description |
|
protected |
◆ m_instr_name
| const std::string hm::Thread::m_instr_name |
|
protected |
◆ m_mutex_info
Initial value:
PSI_mutex_key m_mutex_key
Definition: health_monitor_thread.h:94
◆ m_mutex_key
◆ m_name
| const std::string hm::Thread::m_name |
|
protected |
◆ m_os_name
| const std::string hm::Thread::m_os_name |
|
protected |
◆ m_stop
| bool hm::Thread::m_stop {false} |
|
protected |
◆ m_thread
◆ m_thread_info
Initial value:{
PSI_thread_key m_thread_key
Definition: health_monitor_thread.h:84
const std::string m_description
Definition: health_monitor_thread.h:79
const std::string m_os_name
Definition: health_monitor_thread.h:78
#define PSI_FLAG_THREAD_SYSTEM
System thread flag.
Definition: psi_bits.h:124
◆ m_thread_key
◆ m_thread_running
| std::atomic<bool> hm::Thread::m_thread_running {false} |
|
protected |
◆ m_wait
◆ m_wait_lock
The documentation for this class was generated from the following files: