mutex is a C++ STL mutex (std::mutex) implementation using the instrumented MySQL mutex component API.
More...
#include <instrumented_mutex.h>
mutex is a C++ STL mutex (std::mutex) implementation using the instrumented MySQL mutex component API.
This allows for P_S instrumentation of mutexes in components.
Example usage:
namespace x {
...
...
...
std::unique_lock(m);
...
};
mutex is a C++ STL mutex (std::mutex) implementation using the instrumented MySQL mutex component API...
Definition: instrumented_mutex.h:51
mutex(PSI_mutex_key key) noexcept
Definition: instrumented_mutex.h:53
◆ mutex() [1/2]
◆ mutex() [2/2]
mysql::mutex::mutex |
( |
const mutex & |
| ) |
|
|
delete |
◆ ~mutex()
◆ lock()
void mysql::mutex::lock |
( |
| ) |
|
|
inline |
◆ native_handle()
◆ try_lock()
bool mysql::mutex::try_lock |
( |
| ) |
|
|
inline |
◆ unlock()
void mysql::mutex::unlock |
( |
| ) |
|
|
inline |
◆ m_key
◆ m_mtx
The documentation for this class was generated from the following file: