Commit 9ca8f67c authored by jan.koester's avatar jan.koester
Browse files

test

parent ad34247e
Loading
Loading
Loading
Loading
−3
Changes for src/event/iocp.cpp: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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);
		}
@@ -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);