Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 56378 invoked from network); 11 Dec 2004 03:53:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Dec 2004 03:53:16 -0000 Received: (qmail 52910 invoked by uid 500); 11 Dec 2004 03:52:59 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 52848 invoked by uid 500); 11 Dec 2004 03:52:58 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 52809 invoked by uid 500); 11 Dec 2004 03:52:58 -0000 Received: (qmail 52788 invoked by uid 99); 11 Dec 2004 03:52:58 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Dec 2004 19:52:58 -0800 Received: (qmail 56319 invoked by uid 1385); 11 Dec 2004 03:52:56 -0000 Date: 11 Dec 2004 03:52:56 -0000 Message-ID: <20041211035256.56318.qmail@minotaur.apache.org> From: billbarker@apache.org To: jakarta-tomcat-connectors-cvs@apache.org Subject: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads ThreadPool.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N billbarker 2004/12/10 19:52:56 Modified: util/java/org/apache/tomcat/util/threads ThreadPool.java Log: We need to set the local copies, otherwise the thread counts get wacked. This mostly effects the TC 3.3 legacy Connectors. It is almost impossible for the Coyote Connectors to throw out of 'runIt'. Revision Changes Path 1.30 +2 -2 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.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- ThreadPool.java 12 Oct 2004 08:03:33 -0000 1.29 +++ ThreadPool.java 11 Dec 2004 03:52:56 -0000 1.30 @@ -699,8 +699,8 @@ * The meaning is that we should release the thread from * the pool. */ - shouldTerminate = true; - shouldRun = false; + _shouldTerminate = true; + _shouldRun = false; p.notifyThreadEnd(this); } finally { if (_shouldRun) { --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org