MySQL 9.0.0
Source Code Documentation

An instrumented mutex structure. More...

#include <mysql_mutex_bits.h>

Public Attributes

my_mutex_t m_mutex
 The real mutex. More...
 
struct PSI_mutexm_psi {nullptr}
 The instrumentation hook. More...
 

Detailed Description

An instrumented mutex structure.

mysql_mutex_t is a drop-in replacement for my_mutex_t.

See also
mysql_mutex_assert_owner
mysql_mutex_assert_not_owner
mysql_mutex_init
mysql_mutex_lock
mysql_mutex_unlock
mysql_mutex_destroy

Member Data Documentation

◆ m_mutex

my_mutex_t mysql_mutex_t::m_mutex

The real mutex.

◆ m_psi

struct PSI_mutex* mysql_mutex_t::m_psi {nullptr}

The instrumentation hook.

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


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