[pypy-svn] r39849 - pypy/dist/pypy/module/thread

xoraxax at codespeak.net xoraxax at codespeak.net
Sun Mar 4 10:56:06 CET 2007


Author: xoraxax
Date: Sun Mar  4 10:56:02 2007
New Revision: 39849

Modified:
   pypy/dist/pypy/module/thread/threadlocals.py
Log:
Added getGIL to OSThreadLocals to conform to the interface of thread locals that is implemented by the other two implementations.

Modified: pypy/dist/pypy/module/thread/threadlocals.py
==============================================================================
--- pypy/dist/pypy/module/thread/threadlocals.py	(original)
+++ pypy/dist/pypy/module/thread/threadlocals.py	Sun Mar  4 10:56:02 2007
@@ -56,3 +56,7 @@
     def atthreadexit(self, space, exit_func, w_obj):
         ec = space.getexecutioncontext()
         ec.thread_exit_funcs.append((exit_func, w_obj))
+
+    def getGIL(self):
+        return None
+



More information about the Pypy-commit mailing list