Author: Armin Rigo <ar...@tunes.org>
Branch: queue
Changeset: r1868:159fbfd040f9
Date: 2015-06-18 21:16 +0200
http://bitbucket.org/pypy/stmgc/changeset/159fbfd040f9/

Log:    Missing push/pop root

diff --git a/c8/stm/queue.c b/c8/stm/queue.c
--- a/c8/stm/queue.c
+++ b/c8/stm/queue.c
@@ -284,7 +284,9 @@
 #endif
         if (timeout == 0.0) {
             if (!stm_is_inevitable(tl)) {
+                STM_PUSH_ROOT(*tl, qobj);
                 stm_become_inevitable(tl, "stm_queue_get");
+                STM_POP_ROOT(*tl, qobj);
                 goto retry;
             }
             else
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to