MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / gentle_close

Function gentle_close

client/hstest.cpp:116–124  ·  view source on GitHub ↗

unused

Source from the content-addressed store, hash-verified

114
115// unused
116void
117gentle_close(int fd)
118{
119 int r = shutdown(fd, SHUT_WR);
120 if (r != 0) {
121 return;
122 }
123 wait_close(fd);
124}
125
126};
127

Callers

nothing calls this directly

Calls 1

wait_closeFunction · 0.85

Tested by

no test coverage detected