mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
null-merge from perfschema-5.6 merge tree
(only new files and small style changes are accepted)
This commit is contained in:
@@ -66,7 +66,6 @@
|
||||
An instrumented mutex structure.
|
||||
@sa mysql_mutex_t
|
||||
*/
|
||||
|
||||
struct st_mysql_mutex
|
||||
{
|
||||
/** The real mutex. */
|
||||
@@ -97,15 +96,6 @@ struct st_mysql_mutex
|
||||
*/
|
||||
typedef struct st_mysql_mutex mysql_mutex_t;
|
||||
|
||||
/* How to access the pthread_mutex in mysql_mutex_t */
|
||||
#ifdef SAFE_MUTEX
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
|
||||
#elif defined(MY_PTHREAD_FASTMUTEX)
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex.mutex
|
||||
#else
|
||||
#define mysql_mutex_real_mutex(A) &(A)->m_mutex
|
||||
#endif
|
||||
|
||||
/**
|
||||
An instrumented rwlock structure.
|
||||
@sa mysql_rwlock_t
|
||||
|
Reference in New Issue
Block a user