MySQL 9.1.0
Source Code Documentation
|
ABI for thd_mutex. More...
#include <pthread.h>
#include <sched.h>
Go to the source code of this file.
Classes | |
struct | my_mutex_t |
union | my_mutex_t::u |
Typedefs | |
typedef pthread_mutex_t | native_mutex_t |
typedef pthread_mutexattr_t | native_mutexattr_t |
typedef struct my_mutex_t | my_mutex_t |
ABI for thd_mutex.
There are three "layers": 1) native_mutex_*() Functions that map directly down to OS primitives. Windows - CriticalSection Other OSes - pthread 2) my_mutex_*() Functions that implement SAFE_MUTEX (default for debug), Otherwise native_mutex_*() is used. 3) mysql_mutex_*() Functions that include Performance Schema instrumentation. See include/mysql/psi/mysql_thread.h
typedef struct my_mutex_t my_mutex_t |
typedef pthread_mutex_t native_mutex_t |
typedef pthread_mutexattr_t native_mutexattr_t |