MySQL  8.0.18
Source Code Documentation
mysql_mutex.h File Reference

Go to the source code of this file.

Macros

#define mysql_mutex_register(P1, P2, P3)   mysql_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->unlock(M, F, L)
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (mysql_mutex_v1)
 

Macro Definition Documentation

◆ 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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->lock(M, F, L)

◆ mysql_mutex_register

#define mysql_mutex_register (   P1,
  P2,
  P3 
)    mysql_service_mysql_mutex_v1->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_service_mysql_mutex_v1->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_service_mysql_mutex_v1->unlock(M, F, L)

Function Documentation

◆ REQUIRES_SERVICE_PLACEHOLDER()

REQUIRES_SERVICE_PLACEHOLDER ( mysql_mutex_v1  )