luetzkendorf    2005/04/04 06:53:55

  Modified:    src/stores/org/apache/slide/index/lucene Index.java
  Log:
  fix: fotification in shutdown now synchronized
  
  Revision  Changes    Path
  1.12      +6 -4      
jakarta-slide/src/stores/org/apache/slide/index/lucene/Index.java
  
  Index: Index.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/stores/org/apache/slide/index/lucene/Index.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Index.java        29 Mar 2005 08:08:00 -0000      1.11
  +++ Index.java        4 Apr 2005 13:53:55 -0000       1.12
  @@ -163,7 +163,9 @@
               // stop the indexing thread
               try {
                   this.indexThread.interrupt();
  -                this.txnQueue.notify();
  +                synchronized (this.txnQueue) {
  +                     this.txnQueue.notify();
  +                }
                   this.indexThread.join();
               } catch (InterruptedException e) {
                   // 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to