23#ifndef COMPONENTS_SERVICES_MYSQL_COND_SERVICE_H
24#define COMPONENTS_SERVICES_MYSQL_COND_SERVICE_H
35 const char *src_file,
unsigned int src_line);
38 unsigned int src_line);
41 const char *src_file,
unsigned int src_line);
44 const struct timespec *abstime,
46 unsigned int src_line);
49 unsigned int src_line);
52 unsigned int src_line);
64#define REQUIRES_MYSQL_COND_SERVICE REQUIRES_SERVICE(mysql_cond_v1)
static mysql_service_status_t init()
Component initialization.
Definition: audit_api_message_emit.cc:570
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:43
static int count
Definition: myisam_ftdump.cc:42
Instrumentation helpers for conditions.
void(* mysql_cond_register_t)(const char *category, PSI_cond_info *info, int count)
Definition: mysql_cond_service.h:31
int(* mysql_cond_destroy_t)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:37
int(* mysql_cond_signal_t)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:48
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:34
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:43
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:40
int(* mysql_cond_broadcast)(mysql_cond_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_cond_service.h:51
ABI for instrumented mutexes.
stdx::expected< size_t, std::error_code > wait(int epfd, epoll_event *fd_events, size_t num_fd_events, std::chrono::milliseconds timeout)
Definition: linux_epoll.h:82
static mysql_service_status_t destroy(reference_caching_channel channel) noexcept
Definition: component.cc:49
static const char * category
Definition: sha2_password.cc:169
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:59
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:90
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:85
Condition information.
Definition: psi_cond_bits.h:87
An instrumented cond structure.
Definition: mysql_cond_bits.h:49
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:49