提交 0057a138 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

socket data type

上级 be142916
...@@ -176,7 +176,7 @@ static void taosStopTcpThread(SThreadObj* pThreadObj) { ...@@ -176,7 +176,7 @@ static void taosStopTcpThread(SThreadObj* pThreadObj) {
// save thread and pollFd into local variable since pThreadObj will be freed when thread exits // save thread and pollFd into local variable since pThreadObj will be freed when thread exits
pthread_t thread = pThreadObj->thread; pthread_t thread = pThreadObj->thread;
int pollFd = pThreadObj->pollFd; SOCKET pollFd = pThreadObj->pollFd;
if (taosComparePthread(pThreadObj->thread, pthread_self())) { if (taosComparePthread(pThreadObj->thread, pthread_self())) {
pthread_detach(pthread_self()); pthread_detach(pthread_self());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册