MySQL  8.0.20
Source Code Documentation

Instrumented mutex implementation. More...

#include <pfs_instr.h>

Inheritance diagram for PFS_mutex:
PFS_instr

Public Attributes

const void * m_identity
 Mutex identity, typically a pthread_mutex_t. More...
 
PFS_mutex_classm_class
 Mutex class. More...
 
PFS_mutex_stat m_mutex_stat
 Instrument statistics. More...
 
PFS_threadm_owner
 Current owner. More...
 
ulonglong m_last_locked
 Time stamp of the last lock. More...
 
- Public Attributes inherited from PFS_instr
pfs_lock m_lock
 Internal lock. More...
 
bool m_enabled
 Enabled flag. More...
 
bool m_timed
 Timed flag. More...
 
PFS_opaque_container_page * m_page
 Container page. More...
 

Detailed Description

Instrumented mutex implementation.

See also
PSI_mutex.

Member Data Documentation

◆ m_class

PFS_mutex_class* PFS_mutex::m_class

Mutex class.

◆ m_identity

const void* PFS_mutex::m_identity

Mutex identity, typically a pthread_mutex_t.

◆ m_last_locked

ulonglong PFS_mutex::m_last_locked

Time stamp of the last lock.

This statistic is not exposed in user visible tables yet.

◆ m_mutex_stat

PFS_mutex_stat PFS_mutex::m_mutex_stat

Instrument statistics.

◆ m_owner

PFS_thread* PFS_mutex::m_owner

Current owner.


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