SObjectizer 5.8
Loading...
Searching...
No Matches
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

Definition at line 245 of file spinlocks.hpp.

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

Definition at line 251 of file spinlocks.hpp.

◆ ~read_lock_guard_t()

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

Definition at line 255 of file spinlocks.hpp.

◆ 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

Definition at line 248 of file spinlocks.hpp.


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