MySQL 8.4.2
Source Code Documentation
LO_rwlock_lock Class Referenceabstract
Inheritance diagram for LO_rwlock_lock:
[legend]

Public Member Functions

 LO_rwlock_lock (LO_rwlock *rwlock, const char *src_file, int src_line, LO_thread *thread)
 
 ~LO_rwlock_lock () override=default
 
const char * get_class_name () const override
 
LO_nodeget_state_node () const override
 
LO_nodeget_operation_node (bool recursive, PSI_rwlock_operation op) const
 
const char * get_operation_name (PSI_rwlock_operation op) const
 
const LO_threadget_thread () const
 
LO_rwlockget_rwlock ()
 
virtual void set_locked (PSI_rwlock_operation op, const char *src_file, int src_line)=0
 
virtual void merge_lock (PSI_rwlock_operation op, const char *src_file, int src_line)=0
 
virtual bool set_unlocked (PSI_rwlock_operation op)=0
 
virtual PSI_rwlock_operation get_state () const =0
 
const char * get_op () const
 
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 ()
 
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
 

Private Attributes

LO_threadm_thread
 
LO_rwlockm_rwlock
 

Additional Inherited Members

- Protected Attributes inherited from LO_lock
my_thread_t m_locking_pthread
 

Constructor & Destructor Documentation

◆ LO_rwlock_lock()

LO_rwlock_lock::LO_rwlock_lock ( LO_rwlock rwlock,
const char *  src_file,
int  src_line,
LO_thread thread 
)

◆ ~LO_rwlock_lock()

LO_rwlock_lock::~LO_rwlock_lock ( )
overridedefault

Member Function Documentation

◆ dump()

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

◆ get_class_name()

const char * LO_rwlock_lock::get_class_name ( ) const
overridevirtual

Implements LO_lock.

◆ get_op()

const char * LO_rwlock_lock::get_op ( ) const

◆ get_operation_name()

const char * LO_rwlock_lock::get_operation_name ( PSI_rwlock_operation  op) const

◆ get_operation_node()

LO_node * LO_rwlock_lock::get_operation_node ( bool  recursive,
PSI_rwlock_operation  op 
) const

◆ get_rwlock()

LO_rwlock * LO_rwlock_lock::get_rwlock ( )
inline

◆ get_state()

virtual PSI_rwlock_operation LO_rwlock_lock::get_state ( ) const
pure virtual

◆ get_state_node()

LO_node * LO_rwlock_lock::get_state_node ( ) const
overridevirtual

Implements LO_lock.

◆ get_thread()

const LO_thread * LO_rwlock_lock::get_thread ( ) const
inline

◆ merge_lock()

virtual void LO_rwlock_lock::merge_lock ( PSI_rwlock_operation  op,
const char *  src_file,
int  src_line 
)
pure virtual

◆ set_locked()

virtual void LO_rwlock_lock::set_locked ( PSI_rwlock_operation  op,
const char *  src_file,
int  src_line 
)
pure virtual

◆ set_unlocked()

virtual bool LO_rwlock_lock::set_unlocked ( PSI_rwlock_operation  op)
pure virtual

Member Data Documentation

◆ m_rwlock

LO_rwlock* LO_rwlock_lock::m_rwlock
private

◆ m_thread

LO_thread* LO_rwlock_lock::m_thread
private

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