mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-7017: Add function to print semaphore waits
Add function to print to stderr all current semaphore waits. This function should be able to executed inside a gdb/ddd.
This commit is contained in:
parent
50556e7e9a
commit
2da6f7ceba
8 changed files with 169 additions and 2 deletions
|
|
@ -777,6 +777,11 @@ extern ut_list_base_node_t mutex_list;
|
|||
/** Mutex protecting the mutex_list variable */
|
||||
extern mutex_t mutex_list_mutex;
|
||||
|
||||
/*******************************************************************//**
|
||||
Get sync array */
|
||||
UNIV_INTERN
|
||||
sync_array_t*
|
||||
sync_array_get(void);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "sync0sync.ic"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue