[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Revert previous change: ll_thread.py also compiles thread.c, without genc.py and generated header files.

amauryfa noreply at buildbot.pypy.org
Fri Oct 12 23:07:04 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: remove-PYPY_NOT_MAIN_FILE
Changeset: r58082:73b8484483b1
Date: 2012-10-03 22:12 +0200
http://bitbucket.org/pypy/pypy/changeset/73b8484483b1/

Log:	Revert previous change: ll_thread.py also compiles thread.c, without
	genc.py and generated header files.

diff --git a/pypy/translator/c/src/thread.c b/pypy/translator/c/src/thread.c
--- a/pypy/translator/c/src/thread.c
+++ b/pypy/translator/c/src/thread.c
@@ -1,12 +1,6 @@
 /* Thread implementation */
 #include "src/thread.h"
 
-/* The following include is required by the Boehm GC, which apparently
- * crashes where pthread_create() is not redefined to call a Boehm
- * wrapper function instead.  Ugly.
- */
-#include "common_header.h"
-
 #ifdef _WIN32
 #include "src/thread_nt.c"
 #else


More information about the pypy-commit mailing list