MySQL 9.1.0
Source Code Documentation
mysql_mutex_service.cc File Reference

Functions

void impl_mysql_mutex_register (const char *category, PSI_mutex_info *info, int count)
 
int impl_mysql_mutex_init (PSI_mutex_key key, mysql_mutex_t *that, const native_mutexattr_t *attr, const char *src_file, unsigned int src_line)
 
int impl_mysql_mutex_destroy (mysql_mutex_t *that, const char *src_file, unsigned int src_line)
 
int impl_mysql_mutex_lock (mysql_mutex_t *that, const char *src_file, unsigned int src_line)
 
int impl_mysql_mutex_trylock (mysql_mutex_t *that, const char *src_file, unsigned int src_line)
 
int impl_mysql_mutex_unlock (mysql_mutex_t *that, const char *src_file, unsigned int src_line)
 

Variables

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION (mysql_server, mysql_mutex_v1)
 

Function Documentation

◆ impl_mysql_mutex_destroy()

int impl_mysql_mutex_destroy ( mysql_mutex_t that,
const char *  src_file,
unsigned int  src_line 
)

◆ impl_mysql_mutex_init()

int impl_mysql_mutex_init ( PSI_mutex_key  key,
mysql_mutex_t that,
const native_mutexattr_t attr,
const char *  src_file,
unsigned int  src_line 
)

◆ impl_mysql_mutex_lock()

int impl_mysql_mutex_lock ( mysql_mutex_t that,
const char *  src_file,
unsigned int  src_line 
)

◆ impl_mysql_mutex_register()

void impl_mysql_mutex_register ( const char *  category,
PSI_mutex_info info,
int  count 
)

◆ impl_mysql_mutex_trylock()

int impl_mysql_mutex_trylock ( mysql_mutex_t that,
const char *  src_file,
unsigned int  src_line 
)

◆ impl_mysql_mutex_unlock()

int impl_mysql_mutex_unlock ( mysql_mutex_t that,
const char *  src_file,
unsigned int  src_line 
)

Variable Documentation

◆ SERVICE_IMPLEMENTATION

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION(mysql_server, mysql_mutex_v1) ( mysql_server  ,
mysql_mutex_v1   
)
Initial value:
= {
void impl_mysql_mutex_register(const char *category, PSI_mutex_info *info, int count)
Definition: mysql_mutex_service.cc:30
int impl_mysql_mutex_lock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:46
int impl_mysql_mutex_destroy(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:41
int impl_mysql_mutex_trylock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:51
int impl_mysql_mutex_init(PSI_mutex_key key, mysql_mutex_t *that, const native_mutexattr_t *attr, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:35
int impl_mysql_mutex_unlock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:56