MySQL 8.0.31
Source Code Documentation
mysql_rwlock.h File Reference

Go to the source code of this file.

Macros

#define REQUIRES_MYSQL_RWLOCK_SERVICE   REQUIRES_SERVICE(mysql_rwlock_v1)
 
#define REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER    REQUIRES_SERVICE_PLACEHOLDER(mysql_rwlock_v1)
 
#define MYSQL_RWLOCK_CALL(M)   mysql_service_mysql_rwlock_v1->M
 
#define mysql_rwlock_register(P1, P2, P3)    MYSQL_RWLOCK_CALL(register_info)(P1, P2, P3)
 
#define mysql_rwlock_init(K, T)    mysql_rwlock_init_with_src(K, T, __FILE__, __LINE__)
 
#define mysql_rwlock_init_with_src(K, T, F, L)    MYSQL_RWLOCK_CALL(rwlock_init)(K, T, F, L)
 
#define mysql_prlock_init(K, T)    mysql_prlock_init_with_src(K, T, __FILE__, __LINE__)
 
#define mysql_prlock_init_with_src(K, T, F, L)    MYSQL_RWLOCK_CALL(prlock_init)(K, T, F, L)
 
#define mysql_rwlock_destroy(T)    mysql_rwlock_destroy_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_destroy_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_destroy)(T, F, L)
 
#define mysql_prlock_destroy(T)    mysql_prlock_destroy_with_src(T, __FILE__, __LINE__)
 
#define mysql_prlock_destroy_with_src(T, F, L)    MYSQL_RWLOCK_CALL(prlock_destroy)(T, F, L)
 
#define mysql_rwlock_rdlock(T)    mysql_rwlock_rdlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_rdlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_rdlock)(T, F, L)
 
#define mysql_prlock_rdlock(T)    mysql_prlock_rdlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_prlock_rdlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(prlock_rdlock)(T, F, L)
 
#define mysql_rwlock_wrlock(T)    mysql_rwlock_wrlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_wrlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_wrlock)(T, F, L)
 
#define mysql_prlock_wrlock(T)    mysql_prlock_wrlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_prlock_wrlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(prlock_wrlock)(T, F, L)
 
#define mysql_rwlock_tryrdlock(T)    mysql_rwlock_tryrdlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_tryrdlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_tryrdlock)(T, F, L)
 
#define mysql_rwlock_trywrlock(T)    mysql_rwlock_trywrlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_trywrlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_trywrlock)(T, F, L)
 
#define mysql_rwlock_unlock(T)    mysql_rwlock_unlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_rwlock_unlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(rwlock_unlock)(T, F, L)
 
#define mysql_prlock_unlock(T)    mysql_prlock_unlock_with_src(T, __FILE__, __LINE__)
 
#define mysql_prlock_unlock_with_src(T, F, L)    MYSQL_RWLOCK_CALL(prlock_unlock)(T, F, L)
 

Variables

 REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER
 

Macro Definition Documentation

◆ mysql_prlock_destroy

#define mysql_prlock_destroy (   T)     mysql_prlock_destroy_with_src(T, __FILE__, __LINE__)

◆ mysql_prlock_destroy_with_src

#define mysql_prlock_destroy_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(prlock_destroy)(T, F, L)

◆ mysql_prlock_init

#define mysql_prlock_init (   K,
 
)     mysql_prlock_init_with_src(K, T, __FILE__, __LINE__)

◆ mysql_prlock_init_with_src

#define mysql_prlock_init_with_src (   K,
  T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(prlock_init)(K, T, F, L)

◆ mysql_prlock_rdlock

#define mysql_prlock_rdlock (   T)     mysql_prlock_rdlock_with_src(T, __FILE__, __LINE__)

◆ mysql_prlock_rdlock_with_src

#define mysql_prlock_rdlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(prlock_rdlock)(T, F, L)

◆ mysql_prlock_unlock

#define mysql_prlock_unlock (   T)     mysql_prlock_unlock_with_src(T, __FILE__, __LINE__)

◆ mysql_prlock_unlock_with_src

#define mysql_prlock_unlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(prlock_unlock)(T, F, L)

◆ mysql_prlock_wrlock

#define mysql_prlock_wrlock (   T)     mysql_prlock_wrlock_with_src(T, __FILE__, __LINE__)

◆ mysql_prlock_wrlock_with_src

#define mysql_prlock_wrlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(prlock_wrlock)(T, F, L)

◆ MYSQL_RWLOCK_CALL

#define MYSQL_RWLOCK_CALL (   M)    mysql_service_mysql_rwlock_v1->M

◆ mysql_rwlock_destroy

#define mysql_rwlock_destroy (   T)     mysql_rwlock_destroy_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_destroy_with_src

#define mysql_rwlock_destroy_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_destroy)(T, F, L)

◆ mysql_rwlock_init

#define mysql_rwlock_init (   K,
 
)     mysql_rwlock_init_with_src(K, T, __FILE__, __LINE__)

◆ mysql_rwlock_init_with_src

#define mysql_rwlock_init_with_src (   K,
  T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_init)(K, T, F, L)

◆ mysql_rwlock_rdlock

#define mysql_rwlock_rdlock (   T)     mysql_rwlock_rdlock_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_rdlock_with_src

#define mysql_rwlock_rdlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_rdlock)(T, F, L)

◆ mysql_rwlock_register

#define mysql_rwlock_register (   P1,
  P2,
  P3 
)     MYSQL_RWLOCK_CALL(register_info)(P1, P2, P3)

◆ mysql_rwlock_tryrdlock

#define mysql_rwlock_tryrdlock (   T)     mysql_rwlock_tryrdlock_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_tryrdlock_with_src

#define mysql_rwlock_tryrdlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_tryrdlock)(T, F, L)

◆ mysql_rwlock_trywrlock

#define mysql_rwlock_trywrlock (   T)     mysql_rwlock_trywrlock_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_trywrlock_with_src

#define mysql_rwlock_trywrlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_trywrlock)(T, F, L)

◆ mysql_rwlock_unlock

#define mysql_rwlock_unlock (   T)     mysql_rwlock_unlock_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_unlock_with_src

#define mysql_rwlock_unlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_unlock)(T, F, L)

◆ mysql_rwlock_wrlock

#define mysql_rwlock_wrlock (   T)     mysql_rwlock_wrlock_with_src(T, __FILE__, __LINE__)

◆ mysql_rwlock_wrlock_with_src

#define mysql_rwlock_wrlock_with_src (   T,
  F,
  L 
)     MYSQL_RWLOCK_CALL(rwlock_wrlock)(T, F, L)

◆ REQUIRES_MYSQL_RWLOCK_SERVICE

#define REQUIRES_MYSQL_RWLOCK_SERVICE   REQUIRES_SERVICE(mysql_rwlock_v1)

◆ REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER

#define REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER    REQUIRES_SERVICE_PLACEHOLDER(mysql_rwlock_v1)

Variable Documentation

◆ REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER

REQUIRES_MYSQL_RWLOCK_SERVICE_PLACEHOLDER
extern