| 859 | int Server::IncrBlockedClientNum() { return blocked_clients_.fetch_add(1, std::memory_order_relaxed); } |
| 860 | |
| 861 | int Server::DecrBlockedClientNum() { return blocked_clients_.fetch_sub(1, std::memory_order_relaxed); } |
| 862 | |
| 863 | std::shared_lock<std::shared_mutex> Server::WorkConcurrencyGuard() { |
| 864 | return std::shared_lock(works_concurrency_rw_lock_); |
nothing calls this directly
no outgoing calls
no test coverage detected