MCPcopy Create free account
hub / github.com/alibaba/zvec / stop

Method stop

tools/core/bench.cc:357–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 static void stop(int signo) {
358 if (stop_now) {
359 exit(signo);
360 }
361 stop_now = true;
362 cout << "\rTrying to stop. press [Ctrl+C] again kill immediately." << endl
363 << flush;
364 }
365
366 bool load_query(const std::string &query_file, const std::string &first_sep,
367 const std::string &second_sep) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected