Author: Armin Rigo <[email protected]>
Branch: stacklet
Changeset: r46391:8ee76b7dcff5
Date: 2011-08-09 09:33 +0200
http://bitbucket.org/pypy/pypy/changeset/8ee76b7dcff5/
Log: Add random_effects_on_gcobjs=True here.
diff --git a/pypy/rlib/_rffi_stacklet.py b/pypy/rlib/_rffi_stacklet.py
--- a/pypy/rlib/_rffi_stacklet.py
+++ b/pypy/rlib/_rffi_stacklet.py
@@ -37,8 +37,9 @@
deletethread = llexternal('stacklet_deletethread',[thread_handle], lltype.Void)
new = llexternal('stacklet_new', [thread_handle, run_fn, llmemory.Address],
- handle)
-switch = llexternal('stacklet_switch', [thread_handle, handle], handle)
+ handle, random_effects_on_gcobjs=True)
+switch = llexternal('stacklet_switch', [thread_handle, handle], handle,
+ random_effects_on_gcobjs=True)
destroy = llexternal('stacklet_destroy', [thread_handle, handle], lltype.Void)
_translate_pointer = llexternal("_stacklet_translate_pointer",
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit