[Swift-commit] r2389 - trunk/src/org/griphyn/vdl/karajan/lib
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Jan 5 04:28:48 CST 2009
Author: benc
Date: 2009-01-05 04:28:47 -0600 (Mon, 05 Jan 2009)
New Revision: 2389
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/GetArrayIterator.java
Log:
lock in GetArrayIterator
Modified: trunk/src/org/griphyn/vdl/karajan/lib/GetArrayIterator.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/GetArrayIterator.java 2009-01-05 09:55:50 UTC (rev 2388)
+++ trunk/src/org/griphyn/vdl/karajan/lib/GetArrayIterator.java 2009-01-05 10:28:47 UTC (rev 2389)
@@ -42,7 +42,9 @@
return new PairIterator(value);
}
else {
- return addFutureListListener(stack, var, value);
+ synchronized(var.getRoot()) {
+ return addFutureListListener(stack, var, value);
+ }
}
} else {
throw new RuntimeException("Cannot get array iterator for non-array");
More information about the Swift-commit
mailing list