OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{QueryRunner.cpp} Namespace Reference

Functions

void calcite_shutdown_handler () noexcept
 
void setup_signal_handler ()
 

Variables

std::shared_ptr< Calciteg_calcite = nullptr
 

Function Documentation

void anonymous_namespace{QueryRunner.cpp}::calcite_shutdown_handler ( )
noexcept

Definition at line 63 of file QueryRunner.cpp.

Referenced by QueryRunner::QueryRunner::QueryRunner(), QueryRunner::QueryRunner::reset(), and setup_signal_handler().

63  {
64  if (g_calcite) {
65  g_calcite->close_calcite_server();
66  g_calcite.reset();
67  }
68 }
std::shared_ptr< Calcite > g_calcite
Definition: QueryRunner.cpp:61

+ Here is the caller graph for this function:

void anonymous_namespace{QueryRunner.cpp}::setup_signal_handler ( )

Definition at line 70 of file QueryRunner.cpp.

References TestProcessSignalHandler::addShutdownCallback(), calcite_shutdown_handler(), and TestProcessSignalHandler::registerSignalHandler().

Referenced by QueryRunner::QueryRunner::QueryRunner().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

std::shared_ptr<Calcite> anonymous_namespace{QueryRunner.cpp}::g_calcite = nullptr