[pypy-commit] stmgc default: Extra comment

arigo noreply at buildbot.pypy.org
Tue Mar 4 19:51:42 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r953:79112a4f530d
Date: 2014-03-04 19:51 +0100
http://bitbucket.org/pypy/stmgc/changeset/79112a4f530d/

Log:	Extra comment

diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -454,7 +454,9 @@
        an abort.  It is called from abort_with_mutex(), but also sometimes
        from other threads that figure out that this segment should abort.
        In the latter case, make sure that this segment is currently at
-       a safe point (not SP_RUNNING).
+       a safe point (not SP_RUNNING).  Note that in such cases this
+       function is called more than once for the same segment, but it
+       should not matter.
     */
     struct stm_priv_segment_info_s *pseg = get_priv_segment(segment_num);
 


More information about the pypy-commit mailing list