Author: Armin Rigo <[email protected]>
Branch: c7-more-segments
Changeset: r1053:4885b404222a
Date: 2014-03-16 18:11 +0100
http://bitbucket.org/pypy/stmgc/changeset/4885b404222a/

Log:    Comment

diff --git a/c7/stmgc.h b/c7/stmgc.h
--- a/c7/stmgc.h
+++ b/c7/stmgc.h
@@ -129,8 +129,10 @@
 
 /* ==================== PUBLIC API ==================== */
 
-/* Number of segments (i.e. how many threads can be executed in
-   parallel, in maximum).
+/* Number of segments (i.e. how many transactions can be executed in
+   parallel, in maximum).  If you try to start transactions in more
+   threads than the number of segments, it will block, waiting for the
+   next segment to become free.
 */
 #define STM_NB_SEGMENTS    4
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to