MCPcopy Create free account
hub / github.com/apache/kvrocks / DecrBlockedClientNum

Method DecrBlockedClientNum

src/server/server.cc:861–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859int Server::IncrBlockedClientNum() { return blocked_clients_.fetch_add(1, std::memory_order_relaxed); }
860
861int Server::DecrBlockedClientNum() { return blocked_clients_.fetch_sub(1, std::memory_order_relaxed); }
862
863std::shared_lock<std::shared_mutex> Server::WorkConcurrencyGuard() {
864 return std::shared_lock(works_concurrency_rw_lock_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected