OmniSciDB
a5dc49c757
|
#include <RWLocks.h>
Public Member Functions | |
read_lock (const T *cat) | |
~read_lock () | |
void | unlock () |
Private Member Functions | |
template<typename inner_type > | |
void | lock_catalog (const inner_type *cat) |
Private Attributes | |
const T * | catalog |
heavyai::shared_lock < heavyai::shared_mutex > | lock |
heavyai::shared_lock < heavyai::DistributedSharedMutex > | dlock |
bool | holds_lock |
|
inline |
Definition at line 64 of file RWLocks.h.
References Catalog_Namespace::read_lock< T >::lock_catalog().
|
inline |
Definition at line 66 of file RWLocks.h.
References Catalog_Namespace::read_lock< T >::unlock().
|
inlineprivate |
Definition at line 48 of file RWLocks.h.
References Catalog_Namespace::read_lock< T >::dlock, g_multi_instance, Catalog_Namespace::read_lock< T >::holds_lock, and Catalog_Namespace::read_lock< T >::lock.
Referenced by Catalog_Namespace::read_lock< T >::read_lock().
|
inline |
Definition at line 68 of file RWLocks.h.
References Catalog_Namespace::read_lock< T >::dlock, g_multi_instance, Catalog_Namespace::read_lock< T >::holds_lock, and Catalog_Namespace::read_lock< T >::lock.
Referenced by Catalog_Namespace::Catalog::getMetadataForTable(), Catalog_Namespace::Catalog::getPhysicalTablesDescriptors(), Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider(), Catalog_Namespace::sqlite_lock< T >::unlock(), and Catalog_Namespace::read_lock< T >::~read_lock().
|
private |
|
private |
Definition at line 44 of file RWLocks.h.
Referenced by Catalog_Namespace::read_lock< T >::lock_catalog(), and Catalog_Namespace::read_lock< T >::unlock().
|
private |
Definition at line 45 of file RWLocks.h.
Referenced by Catalog_Namespace::read_lock< T >::lock_catalog(), and Catalog_Namespace::read_lock< T >::unlock().
|
private |
Definition at line 43 of file RWLocks.h.
Referenced by Catalog_Namespace::read_lock< T >::lock_catalog(), and Catalog_Namespace::read_lock< T >::unlock().