OmniSciDB  95562058bd
 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 59 of file QueryRunner.cpp.

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

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

+ Here is the caller graph for this function:

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

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