OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
legacylockmgr Namespace Reference

Classes

class  WrapperType
 
class  LockMgr
 

Typedefs

using ExecutorWriteLock = std::unique_lock< WrapperType< std::shared_mutex >>
 
using ExecutorReadLock = std::shared_lock< WrapperType< std::shared_mutex >>
 

Enumerations

enum  LockType { ExecutorOuterLock }
 

Functions

auto getExecuteWriteLock ()
 
auto getExecuteReadLock ()
 

Typedef Documentation

using legacylockmgr::ExecutorReadLock = typedef std::shared_lock<WrapperType<std::shared_mutex>>

Definition at line 128 of file LegacyLockMgr.h.

using legacylockmgr::ExecutorWriteLock = typedef std::unique_lock<WrapperType<std::shared_mutex>>

Definition at line 127 of file LegacyLockMgr.h.

Enumeration Type Documentation

Enumerator
ExecutorOuterLock 

Definition at line 34 of file LegacyLockMgr.h.

Function Documentation

auto legacylockmgr::getExecuteReadLock ( )
inline

Definition at line 135 of file LegacyLockMgr.h.

References ExecutorOuterLock.

Referenced by AlterTableAlterColumnCommand::execute(), AlterForeignTableCommand::execute(), ShowForeignServersCommand::execute(), ShowCreateServerCommand::execute(), ShowTablesCommand::execute(), ShowTableDetailsCommand::execute(), ShowCreateTableCommand::execute(), ShowDatabasesCommand::execute(), ShowFunctionsCommand::execute(), ShowRuntimeFunctionsCommand::execute(), ShowTableFunctionsCommand::execute(), ShowRuntimeTableFunctionsCommand::execute(), ShowModelsCommand::execute(), ShowModelDetailsCommand::execute(), ShowModelFeatureDetailsCommand::execute(), EvaluateModelCommand::execute(), ShowDiskCacheUsageCommand::execute(), ShowUserDetailsCommand::execute(), ShowRolesCommand::execute(), RefreshForeignTablesCommand::execute(), Parser::InsertIntoTableAsSelectStmt::execute(), Parser::CreateTableAsSelectStmt::execute(), Parser::DropTableStmt::execute(), Parser::TruncateTableStmt::execute(), Parser::OptimizeTableStmt::execute(), Parser::RenameColumnStmt::execute(), Parser::AlterTableParamStmt::execute(), Parser::DumpTableStmt::execute(), Parser::CopyTableStmt::execute(), Parser::ExportQueryStmt::execute(), Parser::DropViewStmt::execute(), Parser::InsertValuesStmt::execute(), DBHandler::get_table_details(), DBHandler::get_table_details_for_database(), DBHandler::get_table_epoch(), DBHandler::get_table_epoch_by_name(), DBHandler::get_table_epochs(), DBHandler::get_tables_meta(), DBHandler::import_table(), DBHandler::importGeoTableSingle(), DBHandler::load_table(), DBHandler::load_table_binary(), DBHandler::load_table_binary_arrow(), DBHandler::load_table_binary_columnar(), DBHandler::set_table_epoch(), DBHandler::set_table_epoch_by_name(), DBHandler::set_table_epochs(), DBHandler::sql_execute_impl(), and DBHandler::sql_validate().

135  {
136  return ExecutorReadLock(
137  *LockMgr<std::shared_mutex, bool>::getMutex(ExecutorOuterLock, true));
138 }
std::shared_lock< WrapperType< std::shared_mutex >> ExecutorReadLock

+ Here is the caller graph for this function: