--------------------- PatchSet 6407 Date: 2007/12/19 18:29:06 Author: rousskov Branch: async-calls Tag: (none) Log: Removed CommDispatcher as unused. Members: src/comm.cc:1.81.4.10->1.81.4.11 src/comm.h:1.26.4.7->1.26.4.8 src/main.cc:1.89->1.89.4.1 Index: squid3/src/comm.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/comm.cc,v retrieving revision 1.81.4.10 retrieving revision 1.81.4.11 diff -u -r1.81.4.10 -r1.81.4.11 --- squid3/src/comm.cc 16 Dec 2007 21:37:53 -0000 1.81.4.10 +++ squid3/src/comm.cc 19 Dec 2007 18:29:06 -0000 1.81.4.11 @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.81.4.10 2007/12/16 21:37:53 chtsanti Exp $ + * $Id: comm.cc,v 1.81.4.11 2007/12/19 18:29:06 rousskov Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -2257,11 +2257,6 @@ memset(&peer, 0, sizeof(peer)); } -bool -CommDispatcher::dispatch() { - return false; /* XXX: delete CommDispatcher */ -} - int CommSelectEngine::checkEvents(int timeout) { static time_t last_timeout = 0; Index: squid3/src/comm.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/comm.h,v retrieving revision 1.26.4.7 retrieving revision 1.26.4.8 diff -u -r1.26.4.7 -r1.26.4.8 --- squid3/src/comm.h 16 Dec 2007 21:37:53 -0000 1.26.4.7 +++ squid3/src/comm.h 19 Dec 2007 18:29:06 -0000 1.26.4.8 @@ -3,7 +3,6 @@ #include "squid.h" #include "AsyncEngine.h" -#include "CompletionDispatcher.h" #include "StoreIOBuffer.h" #include "Array.h" @@ -172,15 +171,6 @@ void removeCheck (int const); }; -/* a dispatcher for comms events */ - -class CommDispatcher : public CompletionDispatcher -{ - -public: - virtual bool dispatch(); -}; - /* A comm engine that calls comm_select */ class CommSelectEngine : public AsyncEngine Index: squid3/src/main.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/main.cc,v retrieving revision 1.89 retrieving revision 1.89.4.1 diff -u -r1.89 -r1.89.4.1 --- squid3/src/main.cc 25 Sep 2007 13:52:18 -0000 1.89 +++ squid3/src/main.cc 19 Dec 2007 18:29:07 -0000 1.89.4.1 @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.89 2007/09/25 13:52:18 squidadm Exp $ + * $Id: main.cc,v 1.89.4.1 2007/12/19 18:29:07 rousskov Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -1302,10 +1302,6 @@ mainLoop.registerEngine(&store_engine); - CommDispatcher comm_dispatcher; - - mainLoop.registerDispatcher(&comm_dispatcher); - CommSelectEngine comm_engine; mainLoop.registerEngine(&comm_engine);