commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject svn commit: r567071 - /commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java
Date Fri, 17 Aug 2007 15:43:39 GMT
Author: ozeigermann
Date: Fri Aug 17 08:43:38 2007
New Revision: 567071

URL: http://svn.apache.org/viewvc?view=rev&rev=567071
Log:
Bugfix: On upgrade the read lock is now released

Modified:
    commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java

Modified: commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java
URL: http://svn.apache.org/viewvc/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java?view=diff&rev=567071&r1=567070&r2=567071
==============================================================================
--- commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java
(original)
+++ commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/locks/ResourceRWLock.java
Fri Aug 17 08:43:38 2007
@@ -256,6 +256,7 @@
                         continue;
                     }
                     setExclusiveOwnerThread(current);
+                    readerThreads.remove(current);
                     return true;
                 } else if (c == WRITE_LOCK) {
                     // if there is a write lock only chance is we already have



Mime
View raw message