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

Function DoNothing

src/brpc/controller.cpp:1675–1677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1673 void Run() { }
1674};
1675google::protobuf::Closure* DoNothing() {
1676 return butil::get_leaky_singleton<DoNothingClosure>();
1677}
1678
1679KVMap& Controller::SessionKV() {
1680 if (_session_kv == nullptr) {

Callers 4

TEST_FFunction · 0.85
CallMethodMethod · 0.85
TEST_FFunction · 0.85
EndRPCMethod · 0.85

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.68
CallMethodMethod · 0.68
TEST_FFunction · 0.68