[pypy-commit] pypy nogil-unsafe-2: (arigo, remi) add todo after discussion

Raemi pypy.commits at gmail.com
Thu Mar 2 12:33:13 EST 2017


Author: Remi Meier <remi.meier at gmail.com>
Branch: nogil-unsafe-2
Changeset: r90496:fd450c9ca2ce
Date: 2017-03-02 18:31 +0100
http://bitbucket.org/pypy/pypy/changeset/fd450c9ca2ce/

Log:	(arigo, remi) add todo after discussion

diff --git a/rpython/translator/c/src/thread_gil.c b/rpython/translator/c/src/thread_gil.c
--- a/rpython/translator/c/src/thread_gil.c
+++ b/rpython/translator/c/src/thread_gil.c
@@ -53,7 +53,8 @@
 
     bool is_new_thread = synclock == 000;
     if (is_new_thread) {
-        // TODO
+        // TODO: do the shadowstack.py:allocate_shadow_stack() here, then the
+        // walk_thread_stack() does not need to check for ss_top==NULL anymore.
     }
 
     RPY_THREADLOCALREF_GET(synclock) = 0b101L;


More information about the pypy-commit mailing list