avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/scheduler DefaultTimeScheduler.java
Date Sun, 25 Nov 2001 07:56:06 GMT
colus       01/11/24 23:56:06

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/scheduler
                        DefaultTimeScheduler.java
  Log:
  Fixed IllegalMonitorException when stopping scheduler.
  
  Revision  Changes    Path
  1.9       +4 -1      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/scheduler/DefaultTimeScheduler.java
  
  Index: DefaultTimeScheduler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/scheduler/DefaultTimeScheduler.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultTimeScheduler.java	2001/11/21 11:40:54	1.8
  +++ DefaultTimeScheduler.java	2001/11/25 07:56:06	1.9
  @@ -226,7 +226,10 @@
       public void stop()
       {
           m_running = false;
  -        notifyAll();
  +        synchronized ( this )
  +        {
  +            notifyAll();
  +        }
       }
   
       public void run()
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message