tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads ThreadPool.java
Date Sat, 11 Dec 2004 03:52:56 GMT
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


Mime
View raw message