[Jython-checkins] jython: #1327 Add ThreadContext class to finish this fix (oops).
frank.wierzbicki
jython-checkins at python.org
Tue Feb 5 01:13:18 CET 2013
http://hg.python.org/jython/rev/8c899b08a774
changeset: 6993:8c899b08a774
parent: 6990:d8f218899c2c
user: Frank Wierzbicki <fwierzbicki at gmail.com>
date: Mon Feb 04 15:20:05 2013 -0800
summary:
#1327 Add ThreadContext class to finish this fix (oops).
files:
src/org/python/core/ThreadContext.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/org/python/core/ThreadContext.java b/src/org/python/core/ThreadContext.java
new file mode 100644
--- /dev/null
+++ b/src/org/python/core/ThreadContext.java
@@ -0,0 +1,8 @@
+// Used to manage re-entrant context on the stack, as opposed to a thread-specific global state
+package org.python.core;
+
+class ThreadContext {
+
+ static ThreadLocal<PyObject> initializingProxy = new ThreadLocal<PyObject>();
+
+}
\ No newline at end of file
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list