MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / sigaction

Class sigaction

smallthinker/tools/run/run.cpp:1222–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220static void ctrl_c_handling() {
1221#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
1222 struct sigaction sigint_action;
1223 sigint_action.sa_handler = sigint_handler;
1224 sigemptyset(&sigint_action.sa_mask);
1225 sigint_action.sa_flags = 0;

Callers 1

ctrl_c_handlingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected