[pypy-commit] stmgc queue: Missing push/pop root
arigo
noreply at buildbot.pypy.org
Thu Jun 18 23:24:53 CEST 2015
Author: Armin Rigo <arigo at 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
More information about the pypy-commit
mailing list