MCPcopy Create free account
hub / github.com/apache/brpc / ~Socket

Method ~Socket

src/brpc/socket.cpp:499–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499Socket::~Socket() {
500 pthread_mutex_destroy(&_id_wait_list_mutex);
501 bthread::butex_destroy(_epollout_butex);
502}
503
504void Socket::ReturnSuccessfulWriteRequest(Socket::WriteRequest* p) {
505 DCHECK(p->data.empty());

Callers

nothing calls this directly

Calls 2

pthread_mutex_destroyFunction · 0.85
butex_destroyFunction · 0.85

Tested by

no test coverage detected