Loading src/event/iocp.cpp +6 −0 Changes for src/event/iocp.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -414,6 +414,12 @@ namespace netplus { } for (auto i = threadpool.begin(); i != threadpool.end(); ++i) { PostQueuedCompletionStatus( iocp, // The global IOCP Handle 0, // dwNumberOfBytesTransferred (0 for exit) 0, // lpCompletionKey (0 is safe for exit signal) NULL // lpOverlapped (NULL for exit signal) ); i->join(); } } Loading Loading
src/event/iocp.cpp +6 −0 Changes for src/event/iocp.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -414,6 +414,12 @@ namespace netplus { } for (auto i = threadpool.begin(); i != threadpool.end(); ++i) { PostQueuedCompletionStatus( iocp, // The global IOCP Handle 0, // dwNumberOfBytesTransferred (0 for exit) 0, // lpCompletionKey (0 is safe for exit signal) NULL // lpOverlapped (NULL for exit signal) ); i->join(); } } Loading