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


void calcite_shutdown_handler () noexcept
void setup_signal_handler ()


std::shared_ptr< Calciteg_calcite = nullptr

Function Documentation

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

Definition at line 64 of file QueryRunner.cpp.

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

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

+ Here is the caller graph for this function:

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

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