[pypy-commit] stmgc default: Add a comment and an XXXXXX

arigo noreply at buildbot.pypy.org
Sat Mar 7 15:27:40 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1693:c447910735da
Date: 2015-03-07 15:28 +0100
http://bitbucket.org/pypy/stmgc/changeset/c447910735da/

Log:	Add a comment and an XXXXXX

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -498,6 +498,10 @@
                 break;   /* success! */
         } else if (old->next == INEV_RUNNING) {
             /* we failed because there is an INEV transaction running */
+            /* XXXXXX for now just sleep (XXX with the lock acquired?
+               isn't it a bad idea?).  We should really ask to inev
+               transaction to do the commit for us, and then we can
+               continue running. */
             usleep(10);
         }
 


More information about the pypy-commit mailing list