Author: Armin Rigo <[email protected]> Branch: Changeset: r163:a7951703474b Date: 2013-06-17 11:14 +0200 http://bitbucket.org/pypy/stmgc/changeset/a7951703474b/
Log: Document this flag diff --git a/c4/et.h b/c4/et.h --- a/c4/et.h +++ b/c4/et.h @@ -53,6 +53,11 @@ * by major collections. 'p_stub->h_revision' might be a value * that is == 2 (mod 4): in this case they point to a protected/private * object that belongs to the thread 'STUB_THREAD(p_stub)'. + * + * GCFLAG_PRIVATE_FROM_PROTECTED is set on objects that are private + * but converted from a protected. These are precisely the objects + * that have a backup copy (in h_revision), which gives a copy of the + * original protected object. */ static const revision_t GCFLAG_OLD = STM_FIRST_GCFLAG << 0; static const revision_t GCFLAG_VISITED = STM_FIRST_GCFLAG << 1; _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
