ozeigermann 2005/01/08 11:02:34 Modified: transaction/src/java/org/apache/commons/transaction/locking GenericLockManager.java Log: Minor comment Revision Changes Path 1.16 +4 -13 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.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- GenericLockManager.java 8 Jan 2005 18:55:09 -0000 1.15 +++ GenericLockManager.java 8 Jan 2005 19:02:34 -0000 1.16 @@ -158,15 +158,6 @@ GenericLock lock = (GenericLock) atomicGetOrCreateLock(resourceId); - // we need to be careful that we the detected deadlock status is still valid when actually - // applying for the lock - // we have to take care that - // (a) no one else acquires the lock after we have done deadlock checking as this would - // invalidate our checking result - // (b) other threads that might concurrently apply for locks we are holding need to know - // we are applying for this special lock before we check for deadlocks ourselves; this - // is important as the other thread might be the one to discover the deadlock - GenericLock.LockOwner lockWaiter = new GenericLock.LockOwner(ownerId, targetLockLevel, compatibility, preferred);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]