OmniSciDB
a5dc49c757
|
#include <RWLocks.h>
Public Member Functions | |
sqlite_lock (const T *cat) | |
~sqlite_lock () | |
void | unlock () |
Private Member Functions | |
template<typename inner_type > | |
void | lock_catalog (const inner_type *cat) |
Private Attributes | |
read_lock< T > | cat_read_lock |
const T * | catalog |
heavyai::unique_lock< std::mutex > | lock |
heavyai::unique_lock < heavyai::DistributedSharedMutex > | dlock |
bool | holds_lock |
|
inline |
Definition at line 108 of file RWLocks.h.
References Catalog_Namespace::sqlite_lock< T >::lock_catalog().
|
inline |
Definition at line 112 of file RWLocks.h.
References Catalog_Namespace::sqlite_lock< T >::unlock().
|
inlineprivate |
Definition at line 92 of file RWLocks.h.
References Catalog_Namespace::sqlite_lock< T >::dlock, g_multi_instance, Catalog_Namespace::sqlite_lock< T >::holds_lock, and Catalog_Namespace::sqlite_lock< T >::lock.
Referenced by Catalog_Namespace::sqlite_lock< T >::sqlite_lock().
|
inline |
Definition at line 114 of file RWLocks.h.
References Catalog_Namespace::sqlite_lock< T >::catalog, Catalog_Namespace::sqlite_lock< T >::dlock, g_multi_instance, Catalog_Namespace::sqlite_lock< T >::holds_lock, Catalog_Namespace::sqlite_lock< T >::lock, and Catalog_Namespace::read_lock< T >::unlock().
Referenced by Catalog_Namespace::Catalog::createDashboard(), Catalog_Namespace::Catalog::replaceDashboard(), and Catalog_Namespace::sqlite_lock< T >::~sqlite_lock().
|
private |
|
private |
Definition at line 86 of file RWLocks.h.
Referenced by Catalog_Namespace::sqlite_lock< T >::unlock().
|
private |
Definition at line 88 of file RWLocks.h.
Referenced by Catalog_Namespace::sqlite_lock< T >::lock_catalog(), and Catalog_Namespace::sqlite_lock< T >::unlock().
|
private |
Definition at line 89 of file RWLocks.h.
Referenced by Catalog_Namespace::sqlite_lock< T >::lock_catalog(), and Catalog_Namespace::sqlite_lock< T >::unlock().
|
private |
Definition at line 87 of file RWLocks.h.
Referenced by Catalog_Namespace::sqlite_lock< T >::lock_catalog(), and Catalog_Namespace::sqlite_lock< T >::unlock().