MySQL  8.0.28
Source Code Documentation

Classes

struct  mysql_cond_t
 An instrumented cond structure. More...
 

Macros

#define mysql_cond_register(P1, P2, P3)   inline_mysql_cond_register(P1, P2, P3)
 Cond registration. More...
 
#define mysql_cond_init(K, C)   mysql_cond_init_with_src(K, C, __FILE__, __LINE__)
 Instrumented cond_init. More...
 
#define mysql_cond_init_with_src(K, C, F, L)   inline_mysql_cond_init(K, C, F, L)
 
#define mysql_cond_destroy(C)   mysql_cond_destroy_with_src(C, __FILE__, __LINE__)
 Instrumented cond_destroy. More...
 
#define mysql_cond_destroy_with_src(C, F, L)   inline_mysql_cond_destroy(C, F, L)
 
#define mysql_cond_wait(C, M)   mysql_cond_wait_with_src(C, M, __FILE__, __LINE__)
 Instrumented cond_wait. More...
 
#define mysql_cond_wait_with_src(C, M, F, L)   inline_mysql_cond_wait(C, M, F, L)
 
#define mysql_cond_timedwait(C, M, W)    mysql_cond_timedwait_with_src(C, M, W, __FILE__, __LINE__)
 Instrumented cond_timedwait. More...
 
#define mysql_cond_timedwait_with_src(C, M, W, F, L)    inline_mysql_cond_timedwait(C, M, W, F, L)
 
#define mysql_cond_signal(C)   mysql_cond_signal_with_src(C, __FILE__, __LINE__)
 Instrumented cond_signal. More...
 
#define mysql_cond_signal_with_src(C, F, L)   inline_mysql_cond_signal(C, F, L)
 
#define mysql_cond_broadcast(C)    mysql_cond_broadcast_with_src(C, __FILE__, __LINE__)
 Instrumented cond_broadcast. More...
 
#define mysql_cond_broadcast_with_src(C, F, L)    inline_mysql_cond_broadcast(C, F, L)
 

Functions

static void inline_mysql_cond_register (const char *category[[maybe_unused]], PSI_cond_info *info[[maybe_unused]], int count[[maybe_unused]])
 
static int inline_mysql_cond_init (PSI_cond_key key[[maybe_unused]], mysql_cond_t *that, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 
static int inline_mysql_cond_destroy (mysql_cond_t *that, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 
static int inline_mysql_cond_wait (mysql_cond_t *that, mysql_mutex_t *mutex, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 
static int inline_mysql_cond_timedwait (mysql_cond_t *that, mysql_mutex_t *mutex, const struct timespec *abstime, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 
static int inline_mysql_cond_signal (mysql_cond_t *that, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 
static int inline_mysql_cond_broadcast (mysql_cond_t *that, const char *src_file[[maybe_unused]], int src_line[[maybe_unused]])
 

Detailed Description

Macro Definition Documentation

◆ mysql_cond_broadcast

#define mysql_cond_broadcast (   C)     mysql_cond_broadcast_with_src(C, __FILE__, __LINE__)

Instrumented cond_broadcast.

mysql_cond_broadcast is a drop-in replacement for pthread_cond_broadcast.

◆ mysql_cond_broadcast_with_src

#define mysql_cond_broadcast_with_src (   C,
  F,
  L 
)     inline_mysql_cond_broadcast(C, F, L)

◆ mysql_cond_destroy

#define mysql_cond_destroy (   C)    mysql_cond_destroy_with_src(C, __FILE__, __LINE__)

Instrumented cond_destroy.

mysql_cond_destroy is a drop-in replacement for pthread_cond_destroy.

◆ mysql_cond_destroy_with_src

#define mysql_cond_destroy_with_src (   C,
  F,
  L 
)    inline_mysql_cond_destroy(C, F, L)

◆ mysql_cond_init

#define mysql_cond_init (   K,
 
)    mysql_cond_init_with_src(K, C, __FILE__, __LINE__)

Instrumented cond_init.

mysql_cond_init is a replacement for pthread_cond_init. Note that pthread_condattr_t is not supported in MySQL.

Parameters
CThe cond to initialize
KThe PSI_cond_key for this instrumented cond

◆ mysql_cond_init_with_src

#define mysql_cond_init_with_src (   K,
  C,
  F,
  L 
)    inline_mysql_cond_init(K, C, F, L)

◆ mysql_cond_register

#define mysql_cond_register (   P1,
  P2,
  P3 
)    inline_mysql_cond_register(P1, P2, P3)

Cond registration.

◆ mysql_cond_signal

#define mysql_cond_signal (   C)    mysql_cond_signal_with_src(C, __FILE__, __LINE__)

Instrumented cond_signal.

mysql_cond_signal is a drop-in replacement for pthread_cond_signal.

◆ mysql_cond_signal_with_src

#define mysql_cond_signal_with_src (   C,
  F,
  L 
)    inline_mysql_cond_signal(C, F, L)

◆ mysql_cond_timedwait

#define mysql_cond_timedwait (   C,
  M,
 
)     mysql_cond_timedwait_with_src(C, M, W, __FILE__, __LINE__)

Instrumented cond_timedwait.

mysql_cond_timedwait is a drop-in replacement for native_cond_timedwait.

◆ mysql_cond_timedwait_with_src

#define mysql_cond_timedwait_with_src (   C,
  M,
  W,
  F,
  L 
)     inline_mysql_cond_timedwait(C, M, W, F, L)

◆ mysql_cond_wait

#define mysql_cond_wait (   C,
  M 
)    mysql_cond_wait_with_src(C, M, __FILE__, __LINE__)

Instrumented cond_wait.

mysql_cond_wait is a drop-in replacement for native_cond_wait.

◆ mysql_cond_wait_with_src

#define mysql_cond_wait_with_src (   C,
  M,
  F,
  L 
)    inline_mysql_cond_wait(C, M, F, L)

Function Documentation

◆ inline_mysql_cond_broadcast()

static int inline_mysql_cond_broadcast ( mysql_cond_t that,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_destroy()

static int inline_mysql_cond_destroy ( mysql_cond_t that,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_init()

static int inline_mysql_cond_init ( PSI_cond_key key [[maybe_unused],
mysql_cond_t that,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_register()

static void inline_mysql_cond_register ( const char *category]  [[maybe_unused],
PSI_cond_info *info [[maybe_unused],
int count [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_signal()

static int inline_mysql_cond_signal ( mysql_cond_t that,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_timedwait()

static int inline_mysql_cond_timedwait ( mysql_cond_t that,
mysql_mutex_t mutex,
const struct timespec *  abstime,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic

◆ inline_mysql_cond_wait()

static int inline_mysql_cond_wait ( mysql_cond_t that,
mysql_mutex_t mutex,
const char *src_file]  [[maybe_unused],
int src_line]  [[maybe_unused] 
)
inlinestatic