Loading src/event/iocp.cpp −3 Changes for src/event/iocp.cpp: 0 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -90,8 +90,6 @@ namespace netplus { void AddToClientList(client* pClientContext) { std::scoped_lock(g_ClientContextMutex, pClientContext->cltmtx); std::unique_lock <std::mutex> lock(g_ClientContextMutex); std::unique_lock <std::mutex> clock(pClientContext->cltmtx); g_ClientContext.push_back(pClientContext); } Loading Loading @@ -281,7 +279,6 @@ namespace netplus { curCon->SendData.resize(ret); if (curCon->SendData.empty()) pClientContext->State = IO_READ_STATE; pClientContext->cltmtx.unlock(); }break; case IO_READ_STATE: { std::unique_lock<std::mutex> clock(pClientContext->cltmtx); Loading Loading
src/event/iocp.cpp −3 Changes for src/event/iocp.cpp: 0 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -90,8 +90,6 @@ namespace netplus { void AddToClientList(client* pClientContext) { std::scoped_lock(g_ClientContextMutex, pClientContext->cltmtx); std::unique_lock <std::mutex> lock(g_ClientContextMutex); std::unique_lock <std::mutex> clock(pClientContext->cltmtx); g_ClientContext.push_back(pClientContext); } Loading Loading @@ -281,7 +279,6 @@ namespace netplus { curCon->SendData.resize(ret); if (curCon->SendData.empty()) pClientContext->State = IO_READ_STATE; pClientContext->cltmtx.unlock(); }break; case IO_READ_STATE: { std::unique_lock<std::mutex> clock(pClientContext->cltmtx); Loading