MySQL 8.0.40
Source Code Documentation
Gcs_ip_allowlist::Atomic_lock_guard Class Reference

Public Member Functions

 Atomic_lock_guard (std::atomic_flag &guard)
 
 ~Atomic_lock_guard ()
 

Private Attributes

std::atomic_flag & m_guard
 When true, it is locked. More...
 

Constructor & Destructor Documentation

◆ Atomic_lock_guard()

Gcs_ip_allowlist::Atomic_lock_guard::Atomic_lock_guard ( std::atomic_flag &  guard)
inline

◆ ~Atomic_lock_guard()

Gcs_ip_allowlist::Atomic_lock_guard::~Atomic_lock_guard ( )
inline

Member Data Documentation

◆ m_guard

std::atomic_flag& Gcs_ip_allowlist::Atomic_lock_guard::m_guard
private

When true, it is locked.

When false it is not.


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