MySQL 9.1.0
Source Code Documentation
mysql_mutex.h File Reference

Go to the source code of this file.

Macros

#define REQUIRES_MYSQL_MUTEX_SERVICE   REQUIRES_SERVICE(mysql_mutex_v1)
 
#define REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER    REQUIRES_SERVICE_PLACEHOLDER(mysql_mutex_v1)
 
#define MYSQL_MUTEX_CALL(M)   SERVICE_PLACEHOLDER(mysql_mutex_v1)->M
 
#define mysql_mutex_register(P1, P2, P3)    MYSQL_MUTEX_CALL(register_info)(P1, P2, P3)
 
#define mysql_mutex_init(K, M, A)    mysql_mutex_init_with_src(K, M, A, __FILE__, __LINE__)
 
#define mysql_mutex_init_with_src(K, M, A, F, L)    MYSQL_MUTEX_CALL(init)(K, M, A, F, L)
 
#define mysql_mutex_destroy(M)    mysql_mutex_destroy_with_src(M, __FILE__, __LINE__)
 
#define mysql_mutex_destroy_with_src(M, F, L)   MYSQL_MUTEX_CALL(destroy)(M, F, L)
 
#define mysql_mutex_lock(M)   mysql_mutex_lock_with_src(M, __FILE__, __LINE__)
 
#define mysql_mutex_lock_with_src(M, F, L)   MYSQL_MUTEX_CALL(lock)(M, F, L)
 
#define mysql_mutex_trylock(M)    mysql_mutex_trylock_with_src(M, __FILE__, __LINE__)
 
#define mysql_mutex_trylock_with_src(M, F, L)   MYSQL_MUTEX_CALL(trylock)(M, F, L)
 
#define mysql_mutex_unlock(M)   mysql_mutex_unlock_with_src(M, __FILE__, __LINE__)
 
#define mysql_mutex_unlock_with_src(M, F, L)   MYSQL_MUTEX_CALL(unlock)(M, F, L)
 

Variables

 REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER
 

Macro Definition Documentation

◆ MYSQL_MUTEX_CALL

#define MYSQL_MUTEX_CALL (   M)    SERVICE_PLACEHOLDER(mysql_mutex_v1)->M

◆ mysql_mutex_destroy

#define mysql_mutex_destroy (   M)     mysql_mutex_destroy_with_src(M, __FILE__, __LINE__)

◆ mysql_mutex_destroy_with_src

#define mysql_mutex_destroy_with_src (   M,
  F,
  L 
)    MYSQL_MUTEX_CALL(destroy)(M, F, L)

◆ mysql_mutex_init

#define mysql_mutex_init (   K,
  M,
 
)     mysql_mutex_init_with_src(K, M, A, __FILE__, __LINE__)

◆ mysql_mutex_init_with_src

#define mysql_mutex_init_with_src (   K,
  M,
  A,
  F,
  L 
)     MYSQL_MUTEX_CALL(init)(K, M, A, F, L)

◆ mysql_mutex_lock

#define mysql_mutex_lock (   M)    mysql_mutex_lock_with_src(M, __FILE__, __LINE__)

◆ mysql_mutex_lock_with_src

#define mysql_mutex_lock_with_src (   M,
  F,
  L 
)    MYSQL_MUTEX_CALL(lock)(M, F, L)

◆ mysql_mutex_register

#define mysql_mutex_register (   P1,
  P2,
  P3 
)     MYSQL_MUTEX_CALL(register_info)(P1, P2, P3)

◆ mysql_mutex_trylock

#define mysql_mutex_trylock (   M)     mysql_mutex_trylock_with_src(M, __FILE__, __LINE__)

◆ mysql_mutex_trylock_with_src

#define mysql_mutex_trylock_with_src (   M,
  F,
  L 
)    MYSQL_MUTEX_CALL(trylock)(M, F, L)

◆ mysql_mutex_unlock

#define mysql_mutex_unlock (   M)    mysql_mutex_unlock_with_src(M, __FILE__, __LINE__)

◆ mysql_mutex_unlock_with_src

#define mysql_mutex_unlock_with_src (   M,
  F,
  L 
)    MYSQL_MUTEX_CALL(unlock)(M, F, L)

◆ REQUIRES_MYSQL_MUTEX_SERVICE

#define REQUIRES_MYSQL_MUTEX_SERVICE   REQUIRES_SERVICE(mysql_mutex_v1)

◆ REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER

#define REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER    REQUIRES_SERVICE_PLACEHOLDER(mysql_mutex_v1)

Variable Documentation

◆ REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER

REQUIRES_MYSQL_MUTEX_SERVICE_PLACEHOLDER
extern