MySQL 8.0.40
Source Code Documentation
LO_mutex_lock Class Reference
Inheritance diagram for LO_mutex_lock:
[legend]

Public Member Functions

 LO_mutex_lock (LO_mutex *mutex, const char *src_file, int src_line, LO_thread *thread)
 
 ~LO_mutex_lock () override
 
virtual const char * get_class_name () const override
 
virtual LO_nodeget_state_node () const override
 
virtual const char * get_state_name () const override
 
LO_nodeget_node () const
 
LO_mutexget_mutex () const
 
LO_threadget_thread ()
 
virtual void dump (FILE *out) const
 
- Public Member Functions inherited from LO_lock
 LO_lock (const char *src_file, int src_line, size_t event_id)
 
virtual ~LO_lock ()
 
const char * get_locking_src_file () const
 
int get_locking_src_line () const
 
size_t get_event_id () const
 
const LO_stack_traceget_stack_trace () const
 
void record_stack_trace ()
 
void record_statement_text (const char *text, int length)
 
const char * get_statement_text (int *length) const
 

Private Attributes

LO_mutexm_mutex
 
LO_threadm_thread
 Owning thread. More...
 

Additional Inherited Members

- Protected Attributes inherited from LO_lock
my_thread_t m_locking_pthread
 

Constructor & Destructor Documentation

◆ LO_mutex_lock()

LO_mutex_lock::LO_mutex_lock ( LO_mutex mutex,
const char *  src_file,
int  src_line,
LO_thread thread 
)

◆ ~LO_mutex_lock()

LO_mutex_lock::~LO_mutex_lock ( )
inlineoverride

Member Function Documentation

◆ dump()

void LO_mutex_lock::dump ( FILE *  out) const
virtual

◆ get_class_name()

const char * LO_mutex_lock::get_class_name ( ) const
overridevirtual

Implements LO_lock.

◆ get_mutex()

LO_mutex * LO_mutex_lock::get_mutex ( ) const
inline

◆ get_node()

LO_node * LO_mutex_lock::get_node ( ) const

◆ get_state_name()

const char * LO_mutex_lock::get_state_name ( ) const
overridevirtual

Implements LO_lock.

◆ get_state_node()

LO_node * LO_mutex_lock::get_state_node ( ) const
overridevirtual

Implements LO_lock.

◆ get_thread()

LO_thread * LO_mutex_lock::get_thread ( )
inline

Member Data Documentation

◆ m_mutex

LO_mutex* LO_mutex_lock::m_mutex
private

◆ m_thread

LO_thread* LO_mutex_lock::m_thread
private

Owning thread.

Could be null for uninstrumented threads.


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