MySQL 8.4.2
Source Code Documentation
|
A RAII helper which latches global_latch in exclusive mode during constructor, and unlatches it during destruction, preventing any other threads from activity within lock_sys for it's entire scope. More...
#include <lock0guards.h>
Public Member Functions | |
Global_exclusive_latch_guard (ut::Location location) | |
~Global_exclusive_latch_guard () | |
Additional Inherited Members | |
Private Member Functions inherited from ut::Non_copyable | |
Non_copyable (const Non_copyable &)=delete | |
Non_copyable & | operator= (const Non_copyable &)=delete |
Non_copyable ()=default | |
~Non_copyable ()=default | |
A RAII helper which latches global_latch in exclusive mode during constructor, and unlatches it during destruction, preventing any other threads from activity within lock_sys for it's entire scope.
locksys::Global_exclusive_latch_guard::Global_exclusive_latch_guard | ( | ut::Location | location | ) |
locksys::Global_exclusive_latch_guard::~Global_exclusive_latch_guard | ( | ) |