[pypy-commit] pypy stmgc-c4: little fix to always release a spinlock

Raemi noreply at buildbot.pypy.org
Thu Sep 12 16:39:46 CEST 2013


Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c4
Changeset: r66923:7dbb17aeb3be
Date: 2013-09-12 16:39 +0200
http://bitbucket.org/pypy/pypy/changeset/7dbb17aeb3be/

Log:	little fix to always release a spinlock

diff --git a/rpython/translator/c/src/mem.c b/rpython/translator/c/src/mem.c
--- a/rpython/translator/c/src/mem.c
+++ b/rpython/translator/c/src/mem.c
@@ -78,6 +78,7 @@
         free(dying);
         return 1;
       }
+  spinlock_release(pypy_debug_alloc_lock);
   return 0;
 }
 


More information about the pypy-commit mailing list