MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / udpClientThread

Method udpClientThread

libapp2sys/src/main/cpp/client.h:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 static void* udpClientThread(void *args) {
84 UdpClient *p = ((UdpClient *) args);
85 int ret = p->startLoop();
86 pdbg("socket:%d finish. tid:%d", ret, gettid());
87 __sync_fetch_and_sub(&(p->m_runningFlag), 1);
88 return NULL;
89 }
90
91public:
92 UdpClient() {

Callers

nothing calls this directly

Calls 1

startLoopMethod · 0.45

Tested by

no test coverage detected