SObjectizer  5.5
Public Member Functions | Private Attributes | List of all members
so_5::read_lock_guard_t< Lock > Class Template Reference

Scoped guard for shared locks. More...

#include <spinlocks.hpp>

Public Member Functions

 read_lock_guard_t (Lock &l)
 
 ~read_lock_guard_t ()
 
 read_lock_guard_t (const read_lock_guard_t &)=delete
 
read_lock_guard_toperator= (const read_lock_guard_t &)=delete
 

Private Attributes

Lock & m_lock
 

Detailed Description

template<class Lock>
class so_5::read_lock_guard_t< Lock >

Scoped guard for shared locks.

Since
v.5.4.0

Constructor & Destructor Documentation

◆ read_lock_guard_t() [1/2]

template<class Lock >
so_5::read_lock_guard_t< Lock >::read_lock_guard_t ( Lock &  l)
inline

◆ ~read_lock_guard_t()

template<class Lock >
so_5::read_lock_guard_t< Lock >::~read_lock_guard_t ( )
inline

◆ read_lock_guard_t() [2/2]

template<class Lock >
so_5::read_lock_guard_t< Lock >::read_lock_guard_t ( const read_lock_guard_t< Lock > &  )
delete

Member Function Documentation

◆ operator=()

template<class Lock >
read_lock_guard_t& so_5::read_lock_guard_t< Lock >::operator= ( const read_lock_guard_t< Lock > &  )
delete

Member Data Documentation

◆ m_lock

template<class Lock >
Lock& so_5::read_lock_guard_t< Lock >::m_lock
private

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