MySQL 9.1.0
Source Code Documentation
ut::Guarded< Inner, latch_id > Class Template Reference

#include <ut0guarded.h>

Public Member Functions

template<typename F >
auto latch_and_execute (F &&f, const ut::Location &loc)
 
const Inner & peek () const
 

Private Attributes

Cacheline_padded< IB_mutexmutex {latch_id}
 
Inner inner
 

Member Function Documentation

◆ latch_and_execute()

template<typename Inner , latch_id_t latch_id>
template<typename F >
auto ut::Guarded< Inner, latch_id >::latch_and_execute ( F &&  f,
const ut::Location loc 
)
inline

◆ peek()

template<typename Inner , latch_id_t latch_id>
const Inner & ut::Guarded< Inner, latch_id >::peek ( ) const
inline

Member Data Documentation

◆ inner

template<typename Inner , latch_id_t latch_id>
Inner ut::Guarded< Inner, latch_id >::inner
private

◆ mutex

template<typename Inner , latch_id_t latch_id>
Cacheline_padded<IB_mutex> ut::Guarded< Inner, latch_id >::mutex {latch_id}
private

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