MySQL 8.3.0
Source Code Documentation
PolyLock Class Referenceabstract

wrapper to hide a mutex and an rwlock under a common interface More...

#include <sys_vars_shared.h>

Inheritance diagram for PolyLock:
[legend]

Public Member Functions

virtual void rdlock ()=0
 
virtual void wrlock ()=0
 
virtual void unlock ()=0
 
virtual ~PolyLock ()=default
 

Detailed Description

wrapper to hide a mutex and an rwlock under a common interface

Constructor & Destructor Documentation

◆ ~PolyLock()

virtual PolyLock::~PolyLock ( )
virtualdefault

Member Function Documentation

◆ rdlock()

virtual void PolyLock::rdlock ( )
pure virtual

◆ unlock()

virtual void PolyLock::unlock ( )
pure virtual

◆ wrlock()

virtual void PolyLock::wrlock ( )
pure virtual

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