MySQL 8.4.0
Source Code Documentation

Instrumented rwlock implementation. More...

#include <pfs_instr.h>

Inheritance diagram for PFS_rwlock:

Public Attributes

pfs_lock m_lock
 Internal lock. More...
bool m_timed
 Timed flag. More...
PFS_opaque_container_page * m_page
 Container page. More...
const void * m_identity
 RWLock identity, typically a pthread_rwlock_t. More...
 RWLock class. More...
PFS_rwlock_stat m_rwlock_stat
 Instrument statistics. More...
 Current writer thread. More...
uint m_readers
 Current count of readers. More...
- Public Attributes inherited from PSI_instr
bool m_enabled
 Instrumentation is enabled. More...

Detailed Description

Instrumented rwlock implementation.

See also

Member Data Documentation

◆ m_class

PFS_rwlock_class* PFS_rwlock::m_class

RWLock class.

◆ m_identity

const void* PFS_rwlock::m_identity

RWLock identity, typically a pthread_rwlock_t.

◆ m_lock

pfs_lock PFS_rwlock::m_lock

Internal lock.

◆ m_page

PFS_opaque_container_page* PFS_rwlock::m_page

Container page.

◆ m_readers

uint PFS_rwlock::m_readers

Current count of readers.

◆ m_rwlock_stat

PFS_rwlock_stat PFS_rwlock::m_rwlock_stat

Instrument statistics.

◆ m_timed

bool PFS_rwlock::m_timed

Timed flag.

◆ m_writer

PFS_thread* PFS_rwlock::m_writer

Current writer thread.

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