MySQL 8.0.40
Source Code Documentation
LO_lock Class Referenceabstract
Inheritance diagram for LO_lock:
[legend]

Public Member Functions

 LO_lock (const char *src_file, int src_line, size_t event_id)
 
virtual ~LO_lock ()
 
virtual const char * get_class_name () const =0
 
virtual LO_nodeget_state_node () const =0
 
virtual const char * get_state_name () const =0
 
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
 

Protected Attributes

my_thread_t m_locking_pthread
 

Private Attributes

const char * m_locking_src_file
 
int m_locking_src_line
 
size_t m_event_id
 
LO_stack_tracem_stack
 
const char * m_locking_statement_text
 
int m_locking_statement_text_length
 

Constructor & Destructor Documentation

◆ LO_lock()

LO_lock::LO_lock ( const char *  src_file,
int  src_line,
size_t  event_id 
)

◆ ~LO_lock()

LO_lock::~LO_lock ( )
virtual

Member Function Documentation

◆ get_class_name()

virtual const char * LO_lock::get_class_name ( ) const
pure virtual

Implemented in LO_mutex_lock, LO_rwlock_lock, and LO_cond_wait.

◆ get_event_id()

size_t LO_lock::get_event_id ( ) const
inline

◆ get_locking_src_file()

const char * LO_lock::get_locking_src_file ( ) const
inline

◆ get_locking_src_line()

int LO_lock::get_locking_src_line ( ) const
inline

◆ get_stack_trace()

const LO_stack_trace * LO_lock::get_stack_trace ( ) const
inline

◆ get_state_name()

virtual const char * LO_lock::get_state_name ( ) const
pure virtual

◆ get_state_node()

virtual LO_node * LO_lock::get_state_node ( ) const
pure virtual

Implemented in LO_mutex_lock, LO_rwlock_lock, and LO_cond_wait.

◆ get_statement_text()

const char * LO_lock::get_statement_text ( int *  length) const
inline

◆ record_stack_trace()

void LO_lock::record_stack_trace ( )

◆ record_statement_text()

void LO_lock::record_statement_text ( const char *  text,
int  length 
)

Member Data Documentation

◆ m_event_id

size_t LO_lock::m_event_id
private

◆ m_locking_pthread

my_thread_t LO_lock::m_locking_pthread
protected

◆ m_locking_src_file

const char* LO_lock::m_locking_src_file
private

◆ m_locking_src_line

int LO_lock::m_locking_src_line
private

◆ m_locking_statement_text

const char* LO_lock::m_locking_statement_text
private

◆ m_locking_statement_text_length

int LO_lock::m_locking_statement_text_length
private

◆ m_stack

LO_stack_trace* LO_lock::m_stack
private

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