tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/t hreads Reaper.java
Date Mon, 30 Oct 2000 14:41:11 GMT
Arion Yu should get credit for finding this first.

-----Original Message-----
From: larryi@locus.apache.org [mailto:larryi@locus.apache.org]
Sent: Thursday, October 26, 2000 10:45 PM
To: jakarta-tomcat-cvs@apache.org
Subject: cvs commit:
jakarta-tomcat/src/share/org/apache/tomcat/util/threads Reaper.java


larryi      00/10/26 19:44:58

  Modified:    src/share/org/apache/tomcat/util/threads Reaper.java
  Log:
  Add synchronized so the notify() call won't throw an exception and prevent
  Tomcat from shutting down.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/util/threads/Reaper.java
  
  Index: Reaper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/threads/Reaper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Reaper.java	2000/09/24 23:03:14	1.2
  +++ Reaper.java	2000/10/27 02:44:58	1.3
  @@ -120,7 +120,7 @@
   	this.start();
       }
   
  -    public void stopReaper() {
  +    public synchronized void stopReaper() {
   	running=false;
   	this.notify();
       }
  
  
  

---------------------------------------------------------------------
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