*** empty log message ***
[IRC.git] / Robust / Transactions / dstm2 / src / dstm2 / Thread.java
index 00bb5569cf7dc731abe09c02c95876f6b58f05fa..f7da48d3b608dcbccfa165b99ff424d1e21a3e63 100644 (file)
@@ -296,10 +296,14 @@ public class Thread extends java.lang.Thread{
         }
         finally{
             
-            
+          //  System.out.println("here " + Thread.currentThread());
             Wrapper.getTransaction().unlockAllLocks();
-            if (Thread.getTransaction() == SpecialLock.getSpecialLock().getOwnerTransaction())
+            if (Thread.getTransaction() == SpecialLock.getSpecialLock().getOwnerTransaction()){
+            //     System.out.println("herein " + Thread.currentThread());
                 SpecialLock.getSpecialLock().unlock(Thread.getTransaction());
+            //    System.out.println("here");
+                        
+            }
             if  (flag == true)
                 break;
         }