Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::AutoLock< LT > Class Template Reference

#include <mutex.h>

Collaboration diagram for Realm::AutoLock< LT >:
[legend]

Public Member Functions

 AutoLock (LT &_mutex)
 ~AutoLock ()
void release ()
void reacquire ()

Protected Attributes

LT & mutex
bool held

Constructor & Destructor Documentation

◆ AutoLock()

template<typename LT = Mutex>
Realm::AutoLock< LT >::AutoLock ( LT & _mutex)

◆ ~AutoLock()

template<typename LT = Mutex>
Realm::AutoLock< LT >::~AutoLock ( )

Member Function Documentation

◆ reacquire()

template<typename LT = Mutex>
void Realm::AutoLock< LT >::reacquire ( )

◆ release()

template<typename LT = Mutex>
void Realm::AutoLock< LT >::release ( )

Member Data Documentation

◆ held

template<typename LT = Mutex>
bool Realm::AutoLock< LT >::held
protected

◆ mutex

template<typename LT = Mutex>
LT& Realm::AutoLock< LT >::mutex
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/mutex.h