24#ifndef COMPONENTS_SERVICES_MYSQL_MUTEX_SERVICE_H
25#define COMPONENTS_SERVICES_MYSQL_MUTEX_SERVICE_H
42 const char *src_file,
unsigned int src_line);
45 unsigned int src_line);
48 unsigned int src_line);
51 unsigned int src_line);
54 unsigned int src_line);
66#define REQUIRES_MYSQL_MUTEX_SERVICE REQUIRES_SERVICE(mysql_mutex_v1)
static mysql_service_status_t init()
Component initialization.
Definition: audit_api_message_emit.cc:571
int destroy(azio_stream *s)
Definition: azio.cc:371
int(* mysql_mutex_destroy_t)(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.h:44
int(* mysql_mutex_trylock_t)(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.h:50
void(* mysql_mutex_register_t)(const char *category, PSI_mutex_info *info, int count)
Definition: mysql_mutex_service.h:37
int(* mysql_mutex_init_t)(PSI_mutex_key key, mysql_mutex_t *that, const native_mutexattr_t *attr, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.h:40
const mysql_service_mysql_mutex_v1_t mysql_mutex_service_t
Mutex service.
Definition: mysql_mutex_service.h:71
int(* mysql_mutex_lock_t)(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.h:47
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
int(* mysql_mutex_unlock_t)(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.h:53
static int count
Definition: myisam_ftdump.cc:45
ABI for instrumented mutexes.
Provides atomic access in shared-exclusive modes.
Definition: shared_spin_lock.h:79
static const char * category
Definition: sha2_password.cc:170
Instrumentation helpers for mutexes.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
Mutex information.
Definition: psi_mutex_bits.h:73
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
pthread_mutexattr_t native_mutexattr_t
Definition: thr_mutex_bits.h:56