MySQL 8.3.0
Source Code Documentation
LO_rwlock_lock_pr Class Reference
Inheritance diagram for LO_rwlock_lock_pr:
[legend]

Public Member Functions

 LO_rwlock_lock_pr (LO_rwlock *rwlock, const char *src_file, int src_line, LO_thread *thread)
 
 ~LO_rwlock_lock_pr () 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_read_count
 
int m_write_count
 
const char * m_write_src_file
 
int m_write_src_line
 
const char * m_read_src_file
 
int m_read_src_line
 

Additional Inherited Members

- Protected Attributes inherited from LO_lock
my_thread_t m_locking_pthread
 

Constructor & Destructor Documentation

◆ LO_rwlock_lock_pr()

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

◆ ~LO_rwlock_lock_pr()

LO_rwlock_lock_pr::~LO_rwlock_lock_pr ( )
overridedefault

Member Function Documentation

◆ get_state()

PSI_rwlock_operation LO_rwlock_lock_pr::get_state ( ) const
overridevirtual

Implements LO_rwlock_lock.

◆ get_state_name()

const char * LO_rwlock_lock_pr::get_state_name ( ) const
overridevirtual

Implements LO_lock.

◆ merge_lock()

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

Implements LO_rwlock_lock.

◆ set_locked()

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

Implements LO_rwlock_lock.

◆ set_unlocked()

bool LO_rwlock_lock_pr::set_unlocked ( PSI_rwlock_operation  op)
overridevirtual

Implements LO_rwlock_lock.

Member Data Documentation

◆ m_read_count

int LO_rwlock_lock_pr::m_read_count
private

◆ m_read_src_file

const char* LO_rwlock_lock_pr::m_read_src_file
private

◆ m_read_src_line

int LO_rwlock_lock_pr::m_read_src_line
private

◆ m_write_count

int LO_rwlock_lock_pr::m_write_count
private

◆ m_write_src_file

const char* LO_rwlock_lock_pr::m_write_src_file
private

◆ m_write_src_line

int LO_rwlock_lock_pr::m_write_src_line
private

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