![]() |
MySQL 8.0.43
Source Code Documentation
|
High level read API for readers. More...
#include <my_rcu_lock.h>
Public Member Functions | |
| operator const T * () | |
| get the value through the scope guard More... | |
| ReadLock (MyRcuLock *l) | |
| construct a new read lock scope guard More... | |
| ReadLock (const ReadLock &)=delete | |
| ~ReadLock () | |
Protected Member Functions | |
| MyRcuLock | operator= (const ReadLock)=delete |
Protected Attributes | |
| MyRcuLock * | _lock |
High level read API for readers.
A convenience scope guard class for readers.Use this for all of the RCU global readers.
construct a new read lock scope guard
|
inline |
|
inline |
get the value through the scope guard
|
protecteddelete |