MySQL  8.0.19
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)
 
const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION (mysql_server, mysql_mutex_v1)
 

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 
)

◆ SERVICE_IMPLEMENTATION()

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION ( mysql_server  ,
mysql_mutex_v1   
)

Variable Documentation

◆ SERVICE_IMPLEMENTATION

const mysql_service_mysql_mutex_v1_t SERVICE_IMPLEMENTATION(mysql_server, mysql_mutex_v1) ( mysql_server  ,
mysql_mutex_v1   
)
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)
Definition: mysql_mutex_service.cc:34
impl_mysql_mutex_lock
int impl_mysql_mutex_lock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:45
impl_mysql_mutex_register
void impl_mysql_mutex_register(const char *category, PSI_mutex_info *info, int count)
Definition: mysql_mutex_service.cc:29
impl_mysql_mutex_destroy
int impl_mysql_mutex_destroy(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:40
impl_mysql_mutex_unlock
int impl_mysql_mutex_unlock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:55
impl_mysql_mutex_trylock
int impl_mysql_mutex_trylock(mysql_mutex_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_mutex_service.cc:50