From a4b3dc92003178088fa31bc6df9dfbe1cd1c18d1 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 24 Oct 2009 20:04:24 +0000 Subject: Remove IOCP socket engine IOCP has been experimental since its introduction, and has not worked correctly for some time. Since we have no windows developer, remove the dead code. Most of the advantages of IOCP are not used by an ircd process regardless: we do not use threads for our client processing, and we add an extra copy operation that eliminates any gain from OS-level buffer reuse. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11970 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_select.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/socketengines/socketengine_select.cpp') diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index 6965ee771..7767a86c3 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -12,7 +12,6 @@ */ #include "inspircd_config.h" -#ifndef CONFIG_USE_IOCP #include "inspircd.h" #include "socketengine.h" @@ -101,7 +100,7 @@ int SelectEngine::DispatchEvents() FD_ZERO(&rfdset); FD_ZERO(&errfdset); - /* Populate the select FD sets (this is why select sucks compared to epoll, kqueue, IOCP) */ + /* Populate the select FD sets (this is why select sucks compared to epoll, kqueue) */ for (unsigned int i = 0; i < FD_SETSIZE; i++) { EventHandler* eh = ref[i]; -- cgit v1.2.3