[Swift-commit] r5143 - branches/release-0.93/src/org/griphyn/vdl/mapping
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Wed Sep 21 02:08:27 CDT 2011
Author: hategan
Date: 2011-09-21 02:08:26 -0500 (Wed, 21 Sep 2011)
New Revision: 5143
Modified:
branches/release-0.93/src/org/griphyn/vdl/mapping/ArrayDataNode.java
Log:
fixed another deadlock
Modified: branches/release-0.93/src/org/griphyn/vdl/mapping/ArrayDataNode.java
===================================================================
--- branches/release-0.93/src/org/griphyn/vdl/mapping/ArrayDataNode.java 2011-09-21 02:15:16 UTC (rev 5142)
+++ branches/release-0.93/src/org/griphyn/vdl/mapping/ArrayDataNode.java 2011-09-21 07:08:26 UTC (rev 5143)
@@ -68,11 +68,13 @@
}
private void addKey(String name) {
+ ArrayIndexFutureList w;
synchronized(this) {
- if (wrapper != null) {
- ((ArrayIndexFutureList) wrapper).addKey(name);
- }
+ w = (ArrayIndexFutureList) wrapper;
}
+ if (w != null) {
+ w.addKey(name);
+ }
}
@Override
More information about the Swift-commit
mailing list