Author: Maciej Fijalkowski <fij...@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'
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to