[pypy-commit] stmgc default: improve comment
arigo
noreply at buildbot.pypy.org
Sun Feb 22 18:52:42 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1642:5e496c71f2ed
Date: 2015-02-22 18:53 +0100
http://bitbucket.org/pypy/stmgc/changeset/5e496c71f2ed/
Log: improve comment
diff --git a/c7/stm/extra.c b/c7/stm/extra.c
--- a/c7/stm/extra.c
+++ b/c7/stm/extra.c
@@ -72,8 +72,9 @@
assert(key != NULL);
assert(callback != NULL);
- /* The callback may call stm_call_on_abort(key, NULL). It is ignored,
- because 'callbacks_on_commit_and_abort' was cleared already. */
+ /* The callback may call stm_call_on_abort(key, NULL)
+ (so with callback==NULL). It is ignored, because
+ 'callbacks_on_commit_and_abort' was cleared already. */
callback(key);
} TREE_LOOP_END;
More information about the pypy-commit
mailing list