24#ifndef COMPONENTS_SERVICES_MYSQL_COND_SERVICE_H
25#define COMPONENTS_SERVICES_MYSQL_COND_SERVICE_H
36 const char *src_file,
unsigned int src_line);
39 unsigned int src_line);
42 const char *src_file,
unsigned int src_line);
45 const struct timespec *abstime,
47 unsigned int src_line);
50 unsigned int src_line);
53 unsigned int src_line);
65#define REQUIRES_MYSQL_COND_SERVICE REQUIRES_SERVICE(mysql_cond_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
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
static int count
Definition: myisam_ftdump.cc:45
Instrumentation helpers for conditions.
void(* mysql_cond_register_t)(const char *category, PSI_cond_info *info, int count)
Definition: mysql_cond_service.h:32
int(* mysql_cond_destroy_t)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:38
int(* mysql_cond_signal_t)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:49
int(* mysql_cond_init_t)(PSI_cond_key key, mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:35
int(* mysql_cond_timedwait_t)(mysql_cond_t *that, mysql_mutex_t *mutex, const struct timespec *abstime, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:44
int(* mysql_cond_wait_t)(mysql_cond_t *that, mysql_mutex_t *mutex, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:41
int(* mysql_cond_broadcast)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:52
ABI for instrumented mutexes.
static int broadcast(mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:98
static int signal(mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:90
static int timedwait(mysql_cond_t *that, mysql_mutex_t *mutex_arg, const struct timespec *abstime, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:74
static int wait(mysql_cond_t *that, mysql_mutex_t *mutex_arg, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:63
static const char * category
Definition: sha2_password.cc:170
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
#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
Condition information.
Definition: psi_cond_bits.h:88
An instrumented cond structure.
Definition: mysql_cond_bits.h:50
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50