MySQL 8.0.39
Source Code Documentation

State data storage for start_rwlock_rdwait_v1_t, start_rwlock_wrwait_v1_t. More...

#include <psi_rwlock_bits.h>

Public Attributes

unsigned int m_flags
 Internal state. More...
 
enum PSI_rwlock_operation m_operation
 Current operation. More...
 
struct PSI_rwlockm_rwlock
 Current rwlock. More...
 
struct PSI_threadm_thread
 Current thread. More...
 
unsigned long long m_timer_start {0}
 Timer start. More...
 
unsigned long long(* m_timer )(void)
 Timer function. More...
 
void * m_wait {nullptr}
 Internal data. More...
 

Detailed Description

State data storage for start_rwlock_rdwait_v1_t, start_rwlock_wrwait_v1_t.

This structure provide temporary storage to a rwlock locker. The content of this structure is considered opaque, the fields are only hints of what an implementation of the psi interface can use. This memory is provided by the instrumented code for performance reasons.

See also
start_rwlock_rdwait_v1_t
start_rwlock_wrwait_v1_t

Member Data Documentation

◆ m_flags

unsigned int PSI_rwlock_locker_state_v1::m_flags

Internal state.

◆ m_operation

enum PSI_rwlock_operation PSI_rwlock_locker_state_v1::m_operation

Current operation.

◆ m_rwlock

struct PSI_rwlock* PSI_rwlock_locker_state_v1::m_rwlock

Current rwlock.

◆ m_thread

struct PSI_thread* PSI_rwlock_locker_state_v1::m_thread

Current thread.

◆ m_timer

unsigned long long(* PSI_rwlock_locker_state_v1::m_timer) (void)

Timer function.

◆ m_timer_start

unsigned long long PSI_rwlock_locker_state_v1::m_timer_start {0}

Timer start.

◆ m_wait

void* PSI_rwlock_locker_state_v1::m_wait {nullptr}

Internal data.


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