MySQL 8.1.0
Source Code Documentation
Thread_to_stop Struct Reference

Public Attributes

const char * m_name
 Name of the thread, printed to the error log if we waited too long (after 60 seconds and then every 60 seconds). More...
 
const IB_threadm_thread
 Future which allows to check if given task is completed. More...
 
std::function< void()> m_notify
 Function which can be called any number of times to wake the possibly waiting thread, so it could exit. More...
 
srv_shutdown_t m_wait_on_state
 Shutdown state in which we are waiting until thread is exited (earlier we keep notifying but we don't require it to exit before we may switch to the next state). More...
 

Member Data Documentation

◆ m_name

const char* Thread_to_stop::m_name

Name of the thread, printed to the error log if we waited too long (after 60 seconds and then every 60 seconds).

◆ m_notify

std::function<void()> Thread_to_stop::m_notify

Function which can be called any number of times to wake the possibly waiting thread, so it could exit.

◆ m_thread

const IB_thread& Thread_to_stop::m_thread

Future which allows to check if given task is completed.

◆ m_wait_on_state

srv_shutdown_t Thread_to_stop::m_wait_on_state

Shutdown state in which we are waiting until thread is exited (earlier we keep notifying but we don't require it to exit before we may switch to the next state).


The documentation for this struct was generated from the following file: