avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/concurrent ReadWriteLock.java
Date Wed, 31 Oct 2001 14:33:16 GMT
bloritsch    01/10/31 06:33:16

  Modified:    src/java/org/apache/avalon/excalibur/concurrent
                        ReadWriteLock.java
  Log:
  Apply fix to ReadWriteLock fromAvi Drissman (drissman@acm.org)
  
  Revision  Changes    Path
  1.6       +1 -2      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java
  
  Index: ReadWriteLock.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ReadWriteLock.java	2001/10/31 13:56:34	1.5
  +++ ReadWriteLock.java	2001/10/31 14:33:16	1.6
  @@ -19,7 +19,7 @@
    * will take priority over those trying to get a read lock.
    *
    * @author <a href="mailto:leo.sutic@inspireinfrastructure.com">Leo Sutic</a>
  - * @version CVS $Revision: 1.5 $ $Date: 2001/10/31 13:56:34 $
  + * @version CVS $Revision: 1.6 $ $Date: 2001/10/31 14:33:16 $
    * @since 4.0
    */
   public class ReadWriteLock
  @@ -81,7 +81,6 @@
               m_numWaitingForWrite++;
               try
               {
  -                m_lock.wait();
                   while ( m_numReadLocksHeld != 0 )
                   {
                       m_lock.wait();
  
  
  

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


Mime
View raw message