24#ifndef COMPONENTS_SERVICES_MYSQL_COND_H
25#define COMPONENTS_SERVICES_MYSQL_COND_H
31#define REQUIRES_MYSQL_COND_SERVICE REQUIRES_SERVICE(mysql_cond_v1)
32#define REQUIRES_MYSQL_COND_SERVICE_PLACEHOLDER \
33 REQUIRES_SERVICE_PLACEHOLDER(mysql_cond_v1)
37#define MYSQL_COND_CALL(M) mysql_service_mysql_cond_v1->M
39#define mysql_cond_register(P1, P2, P3) \
40 MYSQL_COND_CALL(register_info)(P1, P2, P3)
42#define mysql_cond_init(K, C) mysql_cond_init_with_src(K, C, __FILE__, __LINE__)
43#define mysql_cond_init_with_src(K, C, F, L) MYSQL_COND_CALL(init)(K, C, F, L)
45#define mysql_cond_destroy(C) mysql_cond_destroy_with_src(C, __FILE__, __LINE__)
46#define mysql_cond_destroy_with_src(C, F, L) MYSQL_COND_CALL(destroy)(C, F, L)
48#define mysql_cond_wait(C, M) mysql_cond_wait_with_src(C, M, __FILE__, __LINE__)
49#define mysql_cond_wait_with_src(C, M, F, L) MYSQL_COND_CALL(wait)(C, M, F, L)
51#define mysql_cond_timedwait(C, M, T) \
52 mysql_cond_timedwait_with_src(C, M, T, __FILE__, __LINE__)
53#define mysql_cond_timedwait_with_src(C, M, T, F, L) \
54 MYSQL_COND_CALL(timedwait)(C, M, T, F, L)
56#define mysql_cond_signal(C) mysql_cond_signal_with_src(C, __FILE__, __LINE__)
57#define mysql_cond_signal_with_src(C, F, L) MYSQL_COND_CALL(signal)(C, F, L)
59#define mysql_cond_broadcast(C) \
60 mysql_cond_broadcast_with_src(C, __FILE__, __LINE__)
61#define mysql_cond_broadcast_with_src(C, F, L) \
62 MYSQL_COND_CALL(broadcast)(C, F, L)
Specifies macros to define Components.
#define REQUIRES_MYSQL_COND_SERVICE_PLACEHOLDER
Definition: mysql_cond.h:32
ABI for instrumented mutexes.