MySQL 8.0.39
Source Code Documentation
mutex_lock.h File Reference
#include <mysql/psi/mysql_mutex.h>
#include <utility>

Go to the source code of this file.

Classes

class  Generic_mutex_lock< MUTEX >
 A simple wrapper around a mutex: Grabs the mutex in the CTOR, releases it in the DTOR. More...
 

Macros

#define MUTEX_LOCK(NAME, X)   const Mutex_lock NAME(X, __FILE__, __LINE__)
 

Typedefs

using Mutex_lock = Generic_mutex_lock< mysql_mutex_t >
 

Macro Definition Documentation

◆ MUTEX_LOCK

#define MUTEX_LOCK (   NAME,
  X 
)    const Mutex_lock NAME(X, __FILE__, __LINE__)

Typedef Documentation

◆ Mutex_lock