OmniSciDB  72c90bc290
 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 67 of file QueryRunner.cpp.

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

67  {
68  if (g_calcite) {
69  g_calcite->close_calcite_server();
70  g_calcite.reset();
71  }
72 }
std::shared_ptr< Calcite > g_calcite
Definition: QueryRunner.cpp:65

+ Here is the caller graph for this function:

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

Definition at line 74 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