Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 71213:34061f0d35ba
Issue #12469: partial revert of 024827a9db64, freebsd6 thread initialization
* Don't create a thread at startup anymore to initialize the pthread library:
it changes the behaviour of many functions related to signal handling like
sigwait()
* Reenable test_sigtimedwait_poll() on FreeBSD 6
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Mon, 04 Jul 2011 22:53:49 +0200 |
| parents | 024827a9db64 |
| children | c00ac2b25048 |
line wrap: on
line diff
--- a/Python/thread_pthread.h Mon Jul 04 11:44:17 2011 -0700 +++ b/Python/thread_pthread.h Mon Jul 04 22:53:49 2011 +0200 @@ -144,10 +144,7 @@ * Initialization. */ -/* On FreeBSD6, pthread_kill() doesn't work on the main thread before - the creation of the first thread */ -#if defined(_HAVE_BSDI) \ - || (defined(__FreeBSD__) && __FreeBSD_version < 700000) +#if defined(_HAVE_BSDI) static void _noop(void) {
