MySQL  8.0.21
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

os_thread_id_t 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...
 
const char * file_name
 File name where the lock was obtained. More...
 
ulint line
 Line 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

◆ file_name

const char* rw_lock_debug_t::file_name

File name where the lock was obtained.

◆ line

ulint rw_lock_debug_t::line

Line 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

os_thread_id_t 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: