![]() |
MySQL 9.2.0
Source Code Documentation
|
Classes | |
struct | mysql_rwlock_t |
An instrumented rwlock structure. More... | |
struct | mysql_prlock_t |
An instrumented prlock structure. More... | |
Functions | |
static void | inline_mysql_rwlock_register (const char *category, PSI_rwlock_info *info, int count) |
static int | inline_mysql_rwlock_init (PSI_rwlock_key key, mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_prlock_init (PSI_rwlock_key key, mysql_prlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_destroy (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_prlock_destroy (mysql_prlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_rdlock (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_prlock_rdlock (mysql_prlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_wrlock (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_prlock_wrlock (mysql_prlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_tryrdlock (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_trywrlock (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_rwlock_unlock (mysql_rwlock_t *that, const char *src_file, int src_line) |
static int | inline_mysql_prlock_unlock (mysql_prlock_t *that, const char *src_file, int src_line) |
#define mysql_prlock_assert_not_write_owner | ( | M | ) | {} |
Drop-in replacement for rw_pr_lock_assert_not_write_owner
.
#define mysql_prlock_assert_write_owner | ( | M | ) | {} |
Drop-in replacement for rw_pr_lock_assert_write_owner
.
#define mysql_prlock_destroy | ( | T | ) | mysql_prlock_destroy_with_src(T, __FILE__, __LINE__) |
Instrumented rw_pr_destroy.
mysql_prlock_destroy
is a drop-in replacement for rw_pr_destroy
.
#define mysql_prlock_destroy_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_prlock_destroy(T, F, L) |
#define mysql_prlock_init | ( | K, | |
T | |||
) | mysql_prlock_init_with_src(K, T, __FILE__, __LINE__) |
Instrumented rw_pr_init.
mysql_prlock_init
is a replacement for rw_pr_init
.
K | The PSI_rwlock_key for this instrumented prlock |
T | The prlock to initialize |
#define mysql_prlock_init_with_src | ( | K, | |
T, | |||
F, | |||
L | |||
) | inline_mysql_prlock_init(K, T, F, L) |
#define mysql_prlock_rdlock | ( | T | ) | mysql_prlock_rdlock_with_src(T, __FILE__, __LINE__) |
Instrumented rw_pr_rdlock.
mysql_prlock_rdlock
is a drop-in replacement for rw_pr_rdlock
.
#define mysql_prlock_rdlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_prlock_rdlock(T, F, L) |
#define mysql_prlock_unlock | ( | T | ) | mysql_prlock_unlock_with_src(T, __FILE__, __LINE__) |
Instrumented rw_pr_unlock.
mysql_prlock_unlock
is a drop-in replacement for rw_pr_unlock
.
#define mysql_prlock_unlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_prlock_unlock(T, F, L) |
#define mysql_prlock_wrlock | ( | T | ) | mysql_prlock_wrlock_with_src(T, __FILE__, __LINE__) |
Instrumented rw_pr_wrlock.
mysql_prlock_wrlock
is a drop-in replacement for rw_pr_wrlock
.
#define mysql_prlock_wrlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_prlock_wrlock(T, F, L) |
#define mysql_rwlock_destroy | ( | T | ) | mysql_rwlock_destroy_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_destroy.
mysql_rwlock_destroy
is a drop-in replacement for pthread_rwlock_destroy
.
#define mysql_rwlock_destroy_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_destroy(T, F, L) |
#define mysql_rwlock_init | ( | K, | |
T | |||
) | mysql_rwlock_init_with_src(K, T, __FILE__, __LINE__) |
Instrumented rwlock_init.
mysql_rwlock_init
is a replacement for pthread_rwlock_init
. Note that pthread_rwlockattr_t is not supported in MySQL.
K | The PSI_rwlock_key for this instrumented rwlock |
T | The rwlock to initialize |
#define mysql_rwlock_init_with_src | ( | K, | |
T, | |||
F, | |||
L | |||
) | inline_mysql_rwlock_init(K, T, F, L) |
#define mysql_rwlock_rdlock | ( | T | ) | mysql_rwlock_rdlock_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_rdlock.
mysql_rwlock_rdlock
is a drop-in replacement for pthread_rwlock_rdlock
.
#define mysql_rwlock_rdlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_rdlock(T, F, L) |
#define mysql_rwlock_register | ( | P1, | |
P2, | |||
P3 | |||
) | inline_mysql_rwlock_register(P1, P2, P3) |
Rwlock registration.
#define mysql_rwlock_tryrdlock | ( | T | ) | mysql_rwlock_tryrdlock_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_tryrdlock.
mysql_rwlock_tryrdlock
is a drop-in replacement for pthread_rwlock_tryrdlock
.
#define mysql_rwlock_tryrdlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_tryrdlock(T, F, L) |
#define mysql_rwlock_trywrlock | ( | T | ) | mysql_rwlock_trywrlock_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_trywrlock.
mysql_rwlock_trywrlock
is a drop-in replacement for pthread_rwlock_trywrlock
.
#define mysql_rwlock_trywrlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_trywrlock(T, F, L) |
#define mysql_rwlock_unlock | ( | T | ) | mysql_rwlock_unlock_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_unlock.
mysql_rwlock_unlock
is a drop-in replacement for pthread_rwlock_unlock
.
#define mysql_rwlock_unlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_unlock(T, F, L) |
#define mysql_rwlock_wrlock | ( | T | ) | mysql_rwlock_wrlock_with_src(T, __FILE__, __LINE__) |
Instrumented rwlock_wrlock.
mysql_rwlock_wrlock
is a drop-in replacement for pthread_rwlock_wrlock
.
#define mysql_rwlock_wrlock_with_src | ( | T, | |
F, | |||
L | |||
) | inline_mysql_rwlock_wrlock(T, F, L) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |