[Swift-commit] r6228 - branches/faster/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Feb 3 23:29:39 CST 2013


Author: hategan
Date: 2013-02-03 23:29:39 -0600 (Sun, 03 Feb 2013)
New Revision: 6228

Modified:
   branches/faster/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java
Log:
fix thread set multiple unlock

Modified: branches/faster/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java	2013-02-04 05:29:12 UTC (rev 6227)
+++ branches/faster/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java	2013-02-04 05:29:39 UTC (rev 6228)
@@ -180,6 +180,8 @@
                     
                     ts.unlock();
                     decRefs(drefs);
+                    i++;
+                case 2:
                     ts.waitFor();
             }
         }




More information about the Swift-commit mailing list