OmniSciDB
a5dc49c757
|
#include <RWLocks.h>
Public Member Functions | |
write_lock (const T *cat) | |
~write_lock () | |
void | unlock () |
Private Member Functions | |
template<typename inner_type > | |
void | lock_catalog (const inner_type *cat) |
Private Attributes | |
const T * | catalog |
heavyai::unique_lock < heavyai::shared_mutex > | lock |
heavyai::unique_lock < heavyai::DistributedSharedMutex > | dlock |
bool | holds_lock |
|
inline |
Definition at line 153 of file RWLocks.h.
References Catalog_Namespace::write_lock< T >::lock_catalog().
|
inline |
Definition at line 155 of file RWLocks.h.
References Catalog_Namespace::write_lock< T >::unlock().
|
inlineprivate |
Definition at line 137 of file RWLocks.h.
References Catalog_Namespace::write_lock< T >::dlock, g_multi_instance, Catalog_Namespace::write_lock< T >::holds_lock, and Catalog_Namespace::write_lock< T >::lock.
Referenced by Catalog_Namespace::write_lock< T >::write_lock().
|
inline |
Definition at line 157 of file RWLocks.h.
References Catalog_Namespace::write_lock< T >::catalog, Catalog_Namespace::write_lock< T >::dlock, g_multi_instance, Catalog_Namespace::write_lock< T >::holds_lock, and Catalog_Namespace::write_lock< T >::lock.
Referenced by Catalog_Namespace::Catalog::createDashboard(), Catalog_Namespace::Catalog::replaceDashboard(), Catalog_Namespace::Catalog::setUncappedTableEpoch(), and Catalog_Namespace::write_lock< T >::~write_lock().
|
private |
Definition at line 131 of file RWLocks.h.
Referenced by Catalog_Namespace::write_lock< T >::unlock().
|
private |
Definition at line 133 of file RWLocks.h.
Referenced by Catalog_Namespace::write_lock< T >::lock_catalog(), and Catalog_Namespace::write_lock< T >::unlock().
|
private |
Definition at line 134 of file RWLocks.h.
Referenced by Catalog_Namespace::write_lock< T >::lock_catalog(), and Catalog_Namespace::write_lock< T >::unlock().
|
private |
Definition at line 132 of file RWLocks.h.
Referenced by Catalog_Namespace::write_lock< T >::lock_catalog(), and Catalog_Namespace::write_lock< T >::unlock().