MySQL 9.1.0
Source Code Documentation

An instrumented rwlock structure. More...

#include <mysql_rwlock_bits.h>

Public Attributes

native_rw_lock_t m_rwlock
 The real rwlock. More...
 
struct PSI_rwlockm_psi
 The instrumentation hook. More...
 

Detailed Description

An instrumented rwlock structure.

mysql_rwlock_t is a drop-in replacement for pthread_rwlock_t.

See also
mysql_rwlock_init
mysql_rwlock_rdlock
mysql_rwlock_tryrdlock
mysql_rwlock_wrlock
mysql_rwlock_trywrlock
mysql_rwlock_unlock
mysql_rwlock_destroy

Member Data Documentation

◆ m_psi

struct PSI_rwlock* mysql_rwlock_t::m_psi

The instrumentation hook.

Note that this hook is not conditionally defined, for binary compatibility of the mysql_rwlock_t interface.

◆ m_rwlock

native_rw_lock_t mysql_rwlock_t::m_rwlock

The real rwlock.


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