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

Method update_status

tools/server/server-models.cpp:750–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750void server_models::update_status(const std::string & name, server_model_status status, int exit_code) {
751 std::unique_lock<std::mutex> lk(mutex);
752 auto it = mapping.find(name);
753 if (it != mapping.end()) {
754 auto & meta = it->second.meta;
755 meta.status = status;
756 meta.exit_code = exit_code;
757 }
758 cv.notify_all();
759}
760
761void server_models::wait_until_loading_finished(const std::string & name) {
762 std::unique_lock<std::mutex> lk(mutex);

Callers 1

loadMethod · 0.95

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected