MySQL 9.1.0
Source Code Documentation
rw_lock_debug_t Struct Reference

The structure for storing debug info of an rw-lock. More...

#include <sync0rw.h>

Public Member Functions

 UT_LIST_NODE_T (rw_lock_debug_t) list
 Debug structs are linked in a two-way list. More...
 

Public Attributes

std::thread::id thread_id
 The thread id of the thread which locked the rw-lock. More...
 
ulint pass
 Pass value given in the lock operation. More...
 
ulint lock_type
 Type of the lock: RW_LOCK_X, RW_LOCK_S, RW_LOCK_X_WAIT. More...
 
ut::Location location
 Location where the rw-lock was locked. More...
 

Detailed Description

The structure for storing debug info of an rw-lock.

All access to this structure must be protected by rw_lock_debug_mutex_enter().

Member Function Documentation

◆ UT_LIST_NODE_T()

rw_lock_debug_t::UT_LIST_NODE_T ( rw_lock_debug_t  )

Debug structs are linked in a two-way list.

Member Data Documentation

◆ location

ut::Location rw_lock_debug_t::location

Location where the rw-lock was locked.

◆ lock_type

ulint rw_lock_debug_t::lock_type

Type of the lock: RW_LOCK_X, RW_LOCK_S, RW_LOCK_X_WAIT.

◆ pass

ulint rw_lock_debug_t::pass

Pass value given in the lock operation.

◆ thread_id

std::thread::id rw_lock_debug_t::thread_id

The thread id of the thread which locked the rw-lock.


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