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

Function RunClosure

src/brpc/socket.cpp:1508–1512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1506}
1507
1508static void* RunClosure(void* arg) {
1509 google::protobuf::Closure* done = (google::protobuf::Closure*)arg;
1510 done->Run();
1511 return NULL;
1512}
1513
1514int Socket::KeepWriteIfConnected(int fd, int err, void* data) {
1515 WriteRequest* req = static_cast<WriteRequest*>(data);

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected