MySQL 9.1.0
Source Code Documentation
LO_rwlock_lock_sx Class Reference
Inheritance diagram for LO_rwlock_lock_sx:
[legend]

Public Member Functions

 LO_rwlock_lock_sx (LO_rwlock *rwlock, const char *src_file, int src_line, LO_thread *thread)
 
 ~LO_rwlock_lock_sx () override=default
 
void set_locked (PSI_rwlock_operation op, const char *src_file, int src_line) override
 
void merge_lock (PSI_rwlock_operation op, const char *src_file, int src_line) override
 
bool set_unlocked (PSI_rwlock_operation op) override
 
PSI_rwlock_operation get_state () const override
 
const char * get_state_name () const override
 
- Public Member Functions inherited from LO_rwlock_lock
 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 ()
 
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 ()
 
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

int m_s_count
 
int m_sx_count
 
int m_x_count
 
const char * m_s_src_file
 
int m_s_src_line
 
const char * m_sx_src_file
 
int m_sx_src_line
 
const char * m_x_src_file
 
int m_x_src_line
 

Additional Inherited Members

- Protected Attributes inherited from LO_lock
my_thread_t m_locking_pthread
 

Constructor & Destructor Documentation

◆ LO_rwlock_lock_sx()

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

◆ ~LO_rwlock_lock_sx()

LO_rwlock_lock_sx::~LO_rwlock_lock_sx ( )
overridedefault

Member Function Documentation

◆ get_state()

PSI_rwlock_operation LO_rwlock_lock_sx::get_state ( ) const
overridevirtual

Implements LO_rwlock_lock.

◆ get_state_name()

const char * LO_rwlock_lock_sx::get_state_name ( ) const
overridevirtual

Implements LO_lock.

◆ merge_lock()

void LO_rwlock_lock_sx::merge_lock ( PSI_rwlock_operation  op,
const char *  src_file,
int  src_line 
)
overridevirtual

Implements LO_rwlock_lock.

◆ set_locked()

void LO_rwlock_lock_sx::set_locked ( PSI_rwlock_operation  op,
const char *  src_file,
int  src_line 
)
overridevirtual

Implements LO_rwlock_lock.

◆ set_unlocked()

bool LO_rwlock_lock_sx::set_unlocked ( PSI_rwlock_operation  op)
overridevirtual

Implements LO_rwlock_lock.

Member Data Documentation

◆ m_s_count

int LO_rwlock_lock_sx::m_s_count
private

◆ m_s_src_file

const char* LO_rwlock_lock_sx::m_s_src_file
private

◆ m_s_src_line

int LO_rwlock_lock_sx::m_s_src_line
private

◆ m_sx_count

int LO_rwlock_lock_sx::m_sx_count
private

◆ m_sx_src_file

const char* LO_rwlock_lock_sx::m_sx_src_file
private

◆ m_sx_src_line

int LO_rwlock_lock_sx::m_sx_src_line
private

◆ m_x_count

int LO_rwlock_lock_sx::m_x_count
private

◆ m_x_src_file

const char* LO_rwlock_lock_sx::m_x_src_file
private

◆ m_x_src_line

int LO_rwlock_lock_sx::m_x_src_line
private

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