OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 60 of file QueryRunner.cpp.

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

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

+ Here is the caller graph for this function:

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

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