OmniSciDB
a5dc49c757
|
#include <TestProcessSignalHandler.h>
Static Public Member Functions | |
static void | registerSignalHandler () |
static void | addShutdownCallback (std::function< void()> shutdown_callback) |
Static Private Member Functions | |
static void | shutdownSubsystemsAndExit (int signal_number) |
Static Private Attributes | |
static bool | has_registered_signal_handler_ {false} |
static std::vector < std::function< void()> > | shutdown_callbacks_ {} |
Definition at line 22 of file TestProcessSignalHandler.h.
|
static |
Definition at line 34 of file TestProcessSignalHandler.cpp.
References shutdown_callbacks_.
Referenced by anonymous_namespace{QueryRunner.cpp}::setup_signal_handler().
|
static |
Definition at line 25 of file TestProcessSignalHandler.cpp.
References has_registered_signal_handler_, and shutdownSubsystemsAndExit().
Referenced by anonymous_namespace{QueryRunner.cpp}::setup_signal_handler().
|
staticprivate |
Definition at line 39 of file TestProcessSignalHandler.cpp.
References logger::shutdown(), and shutdown_callbacks_.
Referenced by registerSignalHandler().
|
staticprivate |
Definition at line 30 of file TestProcessSignalHandler.h.
Referenced by registerSignalHandler().
|
staticprivate |
Definition at line 31 of file TestProcessSignalHandler.h.
Referenced by addShutdownCallback(), and shutdownSubsystemsAndExit().