tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1350256 - /tomcat/native/branches/1.1.x/native/src/poll.c
Date Thu, 14 Jun 2012 14:18:40 GMT
Author: rjung
Date: Thu Jun 14 14:18:40 2012
New Revision: 1350256

URL: http://svn.apache.org/viewvc?rev=1350256&view=rev
Log:
Remove static remove_all() function made
obsolete by r1342025.

Modified:
    tomcat/native/branches/1.1.x/native/src/poll.c

Modified: tomcat/native/branches/1.1.x/native/src/poll.c
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/poll.c?rev=1350256&r1=1350255&r2=1350256&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/poll.c (original)
+++ tomcat/native/branches/1.1.x/native/src/poll.c Thu Jun 14 14:18:40 2012
@@ -267,18 +267,6 @@ static void update_last_active(tcn_polls
 }
 
 
-static void remove_all(tcn_pollset_t *p)
-{
-    apr_int32_t i;
-    for (i = 0; i < p->nelts; i++) {
-        apr_pollset_remove(p->pollset, &(p->socket_set[i]));
-#ifdef TCN_DO_STATISTICS
-        p->sp_removed++;
-#endif
-    }
-    p->nelts = 0;
-}
-
 TCN_IMPLEMENT_CALL(jint, Poll, remove)(TCN_STDARGS, jlong pollset,
                                        jlong socket)
 {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message