Author: Armin Rigo <[email protected]>
Branch: fast-gil
Changeset: r72203:ff442cbc0012
Date: 2014-06-24 20:00 +0200
http://bitbucket.org/pypy/pypy/changeset/ff442cbc0012/
Log: for clarify: we 'have the GIL' from there already
diff --git a/rpython/translator/c/src/thread_gil.c
b/rpython/translator/c/src/thread_gil.c
--- a/rpython/translator/c/src/thread_gil.c
+++ b/rpython/translator/c/src/thread_gil.c
@@ -106,6 +106,7 @@
errno = old_errno;
}
+ assert(RPY_FASTGIL_LOCKED(rpy_fastgil));
#ifdef PYPY_USE_ASMGCC
if (old_fastgil != 0) {
@@ -122,7 +123,6 @@
#else
assert(old_fastgil == 0);
#endif
- assert(RPY_FASTGIL_LOCKED(rpy_fastgil));
return;
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit