/* Thread implementation */ #include "src/thread.h" #ifdef PYPY_USING_BOEHM_GC /* The following include is required by the Boehm GC, which apparently * crashes when pthread_create_thread() is not redefined to call a * Boehm wrapper function instead. Ugly. */ #include "common_header.h" #endif #ifdef PYPY_MAKEFILE /* This is needed for having 'pypy_threadlocal_s' defined, which is needed for _rpygil_get_my_ident */ # include "common_header.h" # include "structdef.h" #endif #ifdef _WIN32 #include "src/thread_win7.c" #else #include "src/thread_pthread.c" #endif