MCPcopy Create free account
hub / github.com/Tencent/phxsql / AssignFD

Method AssignFD

phxsqlproxy/connection_dispatcher.cpp:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73int ConnectionDispatcher::AssignFD(int fd) {
74 return RoutineWriteWithTimeout(socket_pair_fd_[0], (const char *) (&fd), sizeof(int), 1000);
75}
76
77}

Callers

nothing calls this directly

Calls 1

RoutineWriteWithTimeoutFunction · 0.85

Tested by

no test coverage detected