[Swift-commit] cog r3472

swift at ci.uchicago.edu swift at ci.uchicago.edu
Fri Sep 14 15:55:13 CDT 2012


------------------------------------------------------------------------
r3472 | hategan | 2012-09-14 15:52:10 -0500 (Fri, 14 Sep 2012) | 1 line

must sync on global access; there is no way to ensure correctness otherwise
------------------------------------------------------------------------
Index: modules/karajan/src/org/globus/cog/karajan/stack/LinkedStack.java
===================================================================
--- modules/karajan/src/org/globus/cog/karajan/stack/LinkedStack.java	(revision 3471)
+++ modules/karajan/src/org/globus/cog/karajan/stack/LinkedStack.java	(working copy)
@@ -12,6 +12,7 @@
 import java.util.List;
 
 import org.apache.log4j.Logger;
+import org.globus.cog.karajan.util.ThreadingContext;
 import org.globus.cog.karajan.util.TypeUtil;
 import org.globus.cog.karajan.workflow.ExecutionContext;
 import org.globus.cog.karajan.workflow.events.EventListener;
@@ -327,7 +328,7 @@
 	}
 
 	public Object getGlobal(final String name) {
-		return firstFrame().getVarNoSync(name);
+		return firstFrame().getVar(name);
 	}
 
 	public Regs getRegs() {



More information about the Swift-commit mailing list