MCPcopy Create free account
hub / github.com/BVLC/caffe / SignalHandler

Method SignalHandler

src/caffe/util/signal_handler.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86namespace caffe {
87
88SignalHandler::SignalHandler(SolverAction::Enum SIGINT_action,
89 SolverAction::Enum SIGHUP_action):
90 SIGINT_action_(SIGINT_action),
91 SIGHUP_action_(SIGHUP_action) {
92 HookupHandler();
93}
94
95SignalHandler::~SignalHandler() {
96 UnhookHandler();

Callers

nothing calls this directly

Calls 1

HookupHandlerFunction · 0.85

Tested by

no test coverage detected