MySQL 9.1.0
Source Code Documentation

An instrumented prlock structure. More...

#include <mysql_rwlock_bits.h>

Public Attributes

rw_pr_lock_t m_prlock
 The real prlock. More...
 
struct PSI_rwlockm_psi
 The instrumentation hook. More...
 

Detailed Description

An instrumented prlock structure.

A prlock is a read write lock that 'prefers readers' (pr). mysql_prlock_t is a drop-in replacement for rw_pr_lock_t.

See also
mysql_prlock_init
mysql_prlock_rdlock
mysql_prlock_wrlock
mysql_prlock_unlock
mysql_prlock_destroy

Member Data Documentation

◆ m_prlock

rw_pr_lock_t mysql_prlock_t::m_prlock

The real prlock.

◆ m_psi

struct PSI_rwlock* mysql_prlock_t::m_psi

The instrumentation hook.

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


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