[pypy-commit] stmgc queue: Pushing roots around stm_queue_put was needed only when was had

arigo noreply at buildbot.pypy.org
Thu Jun 18 09:42:26 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: queue
Changeset: r1856:3ca830828468
Date: 2015-06-18 09:42 +0200
http://bitbucket.org/pypy/stmgc/changeset/3ca830828468/

Log:	Pushing roots around stm_queue_put was needed only when was had
	'stm_queue_entry' GC objects

diff --git a/c8/stmgc.h b/c8/stmgc.h
--- a/c8/stmgc.h
+++ b/c8/stmgc.h
@@ -739,7 +739,7 @@
 
 stm_queue_t *stm_queue_create(void);
 void stm_queue_free(stm_queue_t *);
-/* put() does not cause delays or transaction breaks (but push roots!) */
+/* put() does not cause delays or transaction breaks */
 void stm_queue_put(object_t *qobj, stm_queue_t *queue, object_t *newitem);
 /* get() can commit and wait outside a transaction (so push roots).
    Unsuitable if the current transaction is atomic!  With timeout < 0.0,


More information about the pypy-commit mailing list