avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosu...@apache.org
Subject cvs commit: avalon-excalibur/compatibility/src/java/org/apache/avalon/excalibur/concurrent ReadWriteLock.java
Date Mon, 31 Mar 2003 11:42:03 GMT
leosutic    2003/03/31 03:42:03

  Modified:    compatibility/src/java/org/apache/avalon/excalibur/concurrent
                        ReadWriteLock.java
  Log:
  Inserted some debugging code to see why GUMP fails. The test failures can not
  be duplicated outside of GUMP.
  
  Revision  Changes    Path
  1.5       +3 -1      avalon-excalibur/compatibility/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java
  
  Index: ReadWriteLock.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/compatibility/src/java/org/apache/avalon/excalibur/concurrent/ReadWriteLock.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ReadWriteLock.java	22 Mar 2003 12:46:23 -0000	1.4
  +++ ReadWriteLock.java	31 Mar 2003 11:42:03 -0000	1.5
  @@ -104,6 +104,8 @@
           {
               while( !( m_numReadLocksHeld != -1 && m_numWaitingForWrite == 0 ) )
               {
  +                System.out.println( "m_numReadLocksHeld = " + m_numReadLocksHeld );
  +                System.out.println( "m_numWaitingForWrite = " + m_numWaitingForWrite );
                   m_lock.wait();
               }
               m_numReadLocksHeld++;
  
  
  

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


Mime
View raw message