You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2004/03/08 15:48:28 UTC
cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads ThreadPool.java
remm 2004/03/08 06:48:28
Modified: util/java/org/apache/tomcat/util/threads ThreadPool.java
Log:
- 27513, submitted by Sergei Zhirikov.
Revision Changes Path
1.24 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java
Index: ThreadPool.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ThreadPool.java 24 Feb 2004 08:50:05 -0000 1.23
+++ ThreadPool.java 8 Mar 2004 14:48:28 -0000 1.24
@@ -349,7 +349,7 @@
monitor.terminate();
monitor = null;
}
- for(int i = 0 ; i < (currentThreadCount - currentThreadsBusy - 1) ; i++) {
+ for(int i = 0; i < currentThreadCount - currentThreadsBusy; i++) {
try {
pool[i].terminate();
} catch(Throwable t) {
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org