MySQL  8.0.28
Source Code Documentation

Instrumented rwlock implementation. More...

#include <pfs_instr.h>

Inheritance diagram for PFS_rwlock:
PSI_rwlock PSI_instr

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...
 
PFS_rwlock_classm_class
 RWLock class. More...
 
PFS_rwlock_stat m_rwlock_stat
 Instrument statistics. More...
 
PFS_threadm_writer
 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
PSI_rwlock.

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: