OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TableLockMgr.h File Reference
#include <Shared/mapd_shared_mutex.h>
#include <Shared/types.h>
#include <map>
#include <memory>
#include <string>
#include "LockMgr.h"
#include <Catalog/Catalog.h>
+ Include dependency graph for TableLockMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Lock_Namespace::TableLock
 
class  Lock_Namespace::TableLockMgrImpl< T >
 
class  Lock_Namespace::TableLockMgr
 

Namespaces

 Lock_Helpers
 
 Lock_Namespace
 

Typedefs

using Lock_Namespace::MutexType = mapd_shared_mutex
 
using Lock_Namespace::WriteLock = mapd_unique_lock< MutexType >
 
using Lock_Namespace::ReadLock = mapd_shared_lock< MutexType >
 

Functions

template<typename LOCK_TYPE , typename LOCK_MGR_TYPE >
LOCK_TYPE Lock_Helpers::getLockForTableImpl (const Catalog_Namespace::Catalog &cat, const std::string &table_name)