OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{Importer.cpp} Namespace Reference

Functions

bool check_session_interrupted (const QuerySessionId &query_session, Executor *executor)
 

Function Documentation

bool anonymous_namespace{Importer.cpp}::check_session_interrupted ( const QuerySessionId query_session,
Executor executor 
)

Definition at line 124 of file Importer.cpp.

References g_enable_non_kernel_time_query_interrupt.

Referenced by import_export::import_thread_delimited(), import_export::import_thread_shapefile(), and import_export::Importer::importGDALRaster().

124  {
125  if (g_enable_non_kernel_time_query_interrupt && !query_session.empty()) {
127  executor->getSessionLock());
128  return executor->checkIsQuerySessionInterrupted(query_session, session_read_lock);
129  }
130  return false;
131 }
bool g_enable_non_kernel_time_query_interrupt
Definition: Execute.cpp:134
std::shared_lock< T > shared_lock

+ Here is the caller graph for this function: