MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / should_stop

Function should_stop

tools/cli/cli.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38static std::atomic<bool> g_is_interrupted = false;
39static bool should_stop() {
40 return g_is_interrupted.load();
41}
42
43#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) || defined (_WIN32)
44static void signal_handler(int) {

Callers 4

generate_completionMethod · 0.85
mainFunction · 0.85
nextMethod · 0.85
readMethod · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected