diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 22:53:49 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 22:53:49 +0200 |
commit | edf83ba036d27d56f63513a434766ce129f38610 (patch) | |
tree | b554747ed654da3b5b67c873dad078dacf7f132e /Python/thread_pthread.h | |
parent | 73057c786b8b170dd51ca51aba30e83130b7eb74 (diff) | |
download | cpython-edf83ba036d27d56f63513a434766ce129f38610.tar.gz |
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
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r-- | Python/thread_pthread.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index fe9dde6f52..4b61e18941 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -144,10 +144,7 @@ typedef struct { * 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) { |