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

Method stop

tools/core/bench_original.cc:399–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397 }
398
399 static void stop(int signo) {
400 if (stop_now) {
401 exit(signo);
402 }
403 stop_now = true;
404 cout << "\rTrying to stop. press [Ctrl+C] again kill immediately." << endl
405 << flush;
406 }
407
408 bool load_query(const std::string &query_file, const std::string &first_sep,
409 const std::string &second_sep) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected