MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / should_stop

Function should_stop

subprojects/llama.cpp/tools/cli/cli.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32static std::atomic<bool> g_is_interrupted = false;
33static bool should_stop() {
34 return g_is_interrupted.load();
35}
36
37#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) || defined (_WIN32)
38static void signal_handler(int) {

Callers 4

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

Calls 1

loadMethod · 0.65

Tested by

no test coverage detected