OmniSciDB  a987f07e93
 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 125 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().

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

+ Here is the caller graph for this function: