MySQL 8.3.0
Source Code Documentation
locksys::Global_exclusive_latch_guard Class Reference

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>

Inheritance diagram for locksys::Global_exclusive_latch_guard:
[legend]

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_copyableoperator= (const Non_copyable &)=delete
 
 Non_copyable ()=default
 
 ~Non_copyable ()=default
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Global_exclusive_latch_guard()

locksys::Global_exclusive_latch_guard::Global_exclusive_latch_guard ( ut::Location  location)

◆ ~Global_exclusive_latch_guard()

locksys::Global_exclusive_latch_guard::~Global_exclusive_latch_guard ( )

The documentation for this class was generated from the following files: