[pypy-commit] pypy vmprof: don't release GIL on this external call

fijal noreply at buildbot.pypy.org
Fri Jan 16 08:39:15 CET 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof
Changeset: r75365:0865a765abf2
Date: 2015-01-16 09:39 +0200
http://bitbucket.org/pypy/pypy/changeset/0865a765abf2/

Log:	don't release GIL on this external call

diff --git a/pypy/module/_vmprof/interp_vmprof.py b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -71,7 +71,7 @@
 vmprof_register_virtual_function = rffi.llexternal(
     "vmprof_register_virtual_function",
     [rffi.CCHARP, rffi.VOIDP, rffi.VOIDP], lltype.Void,
-    compilation_info=eci)
+    compilation_info=eci, _nowrapper=True)
 
 original_execute_frame = PyFrame.execute_frame.im_func
 original_execute_frame.c_name = 'pypy_pyframe_execute_frame'


More information about the pypy-commit mailing list