You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by as...@apache.org on 2005/01/04 22:13:54 UTC

cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/engine CacheEventQueue.java

asmuts      2005/01/04 13:13:54

  Modified:    src/java/org/apache/jcs/engine CacheEventQueue.java
  Log:
  Solved deadlock problem.  Thanks to Wyatt, Allen [Allen.Wyatt at travelocity dot com] for the patch.
  
  Revision  Changes    Path
  1.12      +4 -4      jakarta-turbine-jcs/src/java/org/apache/jcs/engine/CacheEventQueue.java
  
  Index: CacheEventQueue.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/CacheEventQueue.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CacheEventQueue.java	16 Jul 2004 01:29:20 -0000	1.11
  +++ CacheEventQueue.java	4 Jan 2005 21:13:53 -0000	1.12
  @@ -449,10 +449,10 @@
               {
                 log.debug( "Event from queue after sleep = " + r );
               }
  -            if ( r == null )
  -            {
  -              queue.stopProcessing();
  -            }
  +          }
  +          if ( r == null )
  +          {
  +            queue.stopProcessing();
             }
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org