MCPcopy Create free account
hub / github.com/bytedance/InfiniStore / signal_handler

Function signal_handler

src/utils.cpp:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void signal_handler(int signum) {
96 INFO("Interrupt signal ({}) received.", signum);
97 boost::stacktrace::stacktrace st;
98 std::ostringstream oss;
99 oss << st;
100 ERROR("Stacktrace:\n{}", oss.str());
101 exit(1);
102}
103
104template <typename T>
105void print_vector(T* ptr, size_t size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected