Author: Armin Rigo <[email protected]>
Branch:
Changeset: r900:9d9a01ab921c
Date: 2014-02-27 20:24 +0100
http://bitbucket.org/pypy/stmgc/changeset/9d9a01ab921c/
Log: Add a comment: think more
diff --git a/c7/stm/sync.c b/c7/stm/sync.c
--- a/c7/stm/sync.c
+++ b/c7/stm/sync.c
@@ -289,6 +289,12 @@
if (wait) {
cond_wait(C_SAFE_POINT);
+ /* XXX think: I believe this can end in a busy-loop, with this thread
+ setting NSE_SIGNAL on the other thread; then the other thread
+ commits, sends C_SAFE_POINT, finish the transaction, start
+ the next one, and only then this thread resumes; then we're back
+ in the same situation as before with no progress here.
+ */
return false;
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit