MCPcopy Create free account
hub / github.com/apache/brpc / ResumeRunning

Method ResumeRunning

src/brpc/policy/thrift_protocol.cpp:228–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228inline void ThriftClosure::ResumeRunning() {
229 if (_run_counter.fetch_sub(1, butil::memory_order_relaxed) == 1) {
230 DoRun();
231 }
232}
233
234void ThriftClosure::Run() {
235 if (_run_counter.fetch_sub(1, butil::memory_order_relaxed) == 1) {

Callers 1

Calls 1

fetch_subMethod · 0.80

Tested by

no test coverage detected