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

Function stop

common/console.cpp:1128–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1126 });
1127 }
1128 void stop() {
1129 {
1130 std::unique_lock<std::mutex> lock(mtx);
1131 if (simple_io || !running) {
1132 return;
1133 }
1134 running = false;
1135 cv_stop.notify_all();
1136 }
1137 if (th.joinable()) {
1138 th.join();
1139 }
1140 replace_last(' ');
1141 pop_cursor();
1142 fflush(out);
1143 }
1144 }
1145
1146 void log(const char * fmt, ...) {

Callers 4

generate_completionMethod · 0.50
mainFunction · 0.50
nextMethod · 0.50

Calls 2

replace_lastFunction · 0.85
pop_cursorFunction · 0.85

Tested by

no test coverage detected