OmniSciDB  2e3a973ef4
LockMgrImpl.h File Reference
#include <atomic>
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include "Catalog/Catalog.h"
#include "Shared/mapd_shared_mutex.h"
#include "Shared/types.h"
+ Include dependency graph for LockMgrImpl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lockmgr::MutexTracker
 
class  lockmgr::TrackedRefLock< LOCK >
 
class  lockmgr::AbstractLockContainer< T >
 
class  lockmgr::LockContainerImpl< T, LOCK >
 
class  lockmgr::TableLockMgrImpl< T >
 

Namespaces

 lockmgr
 
 lockmgr::helpers
 

Typedefs

using lockmgr::MutexTypeBase = mapd_shared_mutex
 
using lockmgr::WriteLockBase = mapd_unique_lock< MutexTypeBase >
 
using lockmgr::ReadLockBase = mapd_shared_lock< MutexTypeBase >
 
using lockmgr::MutexType = MutexTracker
 
using lockmgr::WriteLock = TrackedRefLock< WriteLockBase >
 
using lockmgr::ReadLock = TrackedRefLock< ReadLockBase >
 

Functions

ChunkKey lockmgr::helpers::chunk_key_for_table (const Catalog_Namespace::Catalog &cat, const std::string &tableName)
 
template<typename LOCK_TYPE , typename LOCK_MGR_TYPE >
LOCK_TYPE lockmgr::helpers::getLockForKeyImpl (const ChunkKey &chunk_key)
 
template<typename LOCK_TYPE , typename LOCK_MGR_TYPE >
LOCK_TYPE lockmgr::helpers::getLockForTableImpl (const Catalog_Namespace::Catalog &cat, const std::string &table_name)
 
template<typename T >
std::ostream & lockmgr::operator<< (std::ostream &os, const TableLockMgrImpl< T > &lock_mgr)