Author: Remi Meier <[email protected]>
Branch: stmgc-c4
Changeset: r66393:d7a1bf94c7a6
Date: 2013-08-28 15:10 +0200
http://bitbucket.org/pypy/pypy/changeset/d7a1bf94c7a6/

Log:    threadlocal_base() should not be threadsafe (and release the gil)

diff --git a/rpython/jit/backend/x86/stmtlocal.py 
b/rpython/jit/backend/x86/stmtlocal.py
--- a/rpython/jit/backend/x86/stmtlocal.py
+++ b/rpython/jit/backend/x86/stmtlocal.py
@@ -22,7 +22,9 @@
 threadlocal_base = rffi.llexternal(
     'pypy__threadlocal_base',
     [], lltype.Signed,
-    compilation_info=eci)
+    compilation_info=eci,
+    threadsafe=False,
+    transactionsafe=True)
 
 
 def tl_segment_prefix(mc):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to