MySQL 8.0.39
Source Code Documentation
|
Functor to check whether the calling thread owns the btr search mutex. More...
#include <sync0types.h>
Public Member Functions | |
btrsea_sync_check (bool has_search_latch) | |
Constructor. More... | |
~btrsea_sync_check () override=default | |
Destructor. More... | |
bool | operator() (const latch_level_t level) override |
Called for every latch owned by the calling thread. More... | |
bool | result () const override |
Public Member Functions inherited from sync_check_functor_t | |
virtual | ~sync_check_functor_t ()=default |
Private Attributes | |
bool | m_result |
True if all OK. More... | |
const bool | m_has_search_latch |
If the caller owns the search latch. More... | |
Functor to check whether the calling thread owns the btr search mutex.
|
inlineexplicit |
Constructor.
[in] | has_search_latch | true if owns the latch |
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Called for every latch owned by the calling thread.
[in] | level | Level of the existing latch |
Implements sync_check_functor_t.
|
inlineoverridevirtual |
Implements sync_check_functor_t.
|
private |
If the caller owns the search latch.
|
private |
True if all OK.