MCPcopy Create free account
hub / github.com/apache/thrift / signal_handler

Function signal_handler

test/cpp/src/TestServer.cpp:92–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90#ifdef HAVE_SIGNAL_H
91apache::thrift::concurrency::Monitor gMonitor;
92void signal_handler(int signum)
93{
94 if (signum == SIGINT) {
95 gMonitor.notifyAll();
96 }
97}
98#endif
99
100class TestHandler : public ThriftTestIf {

Callers

nothing calls this directly

Calls 1

notifyAllMethod · 0.45

Tested by

no test coverage detected