Author: Armin Rigo <ar...@tunes.org> Branch: stm-gc Changeset: r52358:b1da95d9b385 Date: 2012-02-10 16:29 +0100 http://bitbucket.org/pypy/pypy/changeset/b1da95d9b385/
Log: Tweak diff --git a/pypy/rpython/memory/gc/stmgc.py b/pypy/rpython/memory/gc/stmgc.py --- a/pypy/rpython/memory/gc/stmgc.py +++ b/pypy/rpython/memory/gc/stmgc.py @@ -164,7 +164,7 @@ needs_finalizer=False, is_finalizer_light=False, contains_weakptr=False): - assert not needs_finalizer, "XXX" + #assert not needs_finalizer, "XXX" --- finalizer is just ignored assert not contains_weakptr, "XXX" # # Check the mode: either in a transactional thread, or in @@ -354,13 +354,16 @@ # ---------- def acquire(self, lock): - ll_thread.c_thread_acquirelock_NOAUTO(lock, 1) + ll_thread.acquire_NOAUTO(lock, 1) def release(self, lock): - ll_thread.c_thread_releaselock_NOAUTO(lock) + ll_thread.release_NOAUTO(lock) # ---------- + def id(self, gcobj): + raise NotImplementedError("XXX") + def identityhash(self, gcobj): raise NotImplementedError("XXX") _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit