#include <my_xp_mutex.h>
◆ My_xp_mutex_server()
My_xp_mutex_server::My_xp_mutex_server |
( |
| ) |
|
|
explicit |
◆ ~My_xp_mutex_server()
My_xp_mutex_server::~My_xp_mutex_server |
( |
| ) |
|
|
override |
◆ destroy()
int My_xp_mutex_server::destroy |
( |
| ) |
|
|
overridevirtual |
Destroy mutex.
- Returns
- success status
Implements My_xp_mutex.
◆ get_native_mutex()
To get native mutex reference.
- Returns
- native mutex pointer
Implements My_xp_mutex.
◆ init()
Initialize mutex.
- Parameters
-
key | mutex instrumentation key |
attr | mutex attributes reference |
- Returns
- success status
Implements My_xp_mutex.
◆ lock()
int My_xp_mutex_server::lock |
( |
| ) |
|
|
overridevirtual |
Lock mutex.
- Returns
- success status
Implements My_xp_mutex.
◆ trylock()
int My_xp_mutex_server::trylock |
( |
| ) |
|
|
overridevirtual |
Trylock mutex.
- Returns
- success status
Implements My_xp_mutex.
◆ unlock()
int My_xp_mutex_server::unlock |
( |
| ) |
|
|
overridevirtual |
Unlock mutex.
- Returns
- success status
Implements My_xp_mutex.
◆ m_mutex
The documentation for this class was generated from the following files:
- plugin/group_replication/libmysqlgcs/include/mysql/gcs/xplatform/my_xp_mutex.h
- plugin/group_replication/libmysqlgcs/src/interface/xplatform/my_xp_mutex.cc