[pypy-commit] pypy stmgc-c7: Don't release the GIL, but still make a wrapper, which is needed for stm
arigo
noreply at buildbot.pypy.org
Tue Mar 17 11:43:51 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r76428:1349c7207652
Date: 2015-03-17 11:40 +0100
http://bitbucket.org/pypy/pypy/changeset/1349c7207652/
Log: Don't release the GIL, but still make a wrapper, which is needed for
stm
diff --git a/rpython/rlib/rthread.py b/rpython/rlib/rthread.py
--- a/rpython/rlib/rthread.py
+++ b/rpython/rlib/rthread.py
@@ -60,7 +60,7 @@
releasegil=True) # release the GIL
c_thread_releaselock = llexternal('RPyThreadReleaseLock', [TLOCKP],
lltype.Signed,
- _nowrapper=True) # *don't* release the GIL
+ releasegil=False) # *don't* release the GIL
# another set of functions, this time in versions that don't cause the
# GIL to be released. Used to be there to handle the GIL lock itself,
More information about the pypy-commit
mailing list