commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject cvs commit: jakarta-commons/transaction/src/java/org/apache/commons/transaction/locking GenericLockManager.java
Date Thu, 23 Dec 2004 15:42:35 GMT
ozeigermann    2004/12/23 07:42:35

  Modified:    transaction/src/java/org/apache/commons/transaction/locking
                        GenericLockManager.java
  Log:
  Added TODO that reminds us that indirect deadlocks are not detected, yet
  
  Revision  Changes    Path
  1.10      +7 -4      jakarta-commons/transaction/src/java/org/apache/commons/transaction/locking/GenericLockManager.java
  
  Index: GenericLockManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/transaction/src/java/org/apache/commons/transaction/locking/GenericLockManager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- GenericLockManager.java	20 Dec 2004 15:23:56 -0000	1.9
  +++ GenericLockManager.java	23 Dec 2004 15:42:34 -0000	1.10
  @@ -334,6 +334,9 @@
           }
       }
   
  +    // TODO this does not detect indirect deadlocks where we would be deadlocked by 
  +    // an owner we wait for that waits for a lock that is owner by a third owner that
  +    // waits for us
       protected boolean wouldDeadlock(Object ownerId, GenericLock lock, int targetLockLevel,
               int compatibility, Set conflicts) {
           if (conflicts != null) {
  
  
  

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


Mime
View raw message