summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-04 20:53:49 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-04 20:53:49 (GMT)
commit87e78ce1c65c299e5eeb07815a6b6e54a64aa673 (patch)
tree5636b01a03a6081a5ba91f66f92240aa27e5076e /Python/thread_pthread.h
parent8fbfc12f5e156e753f40853254ed3fb57be03639 (diff)
downloadcpython-87e78ce1c65c299e5eeb07815a6b6e54a64aa673.zip
cpython-87e78ce1c65c299e5eeb07815a6b6e54a64aa673.tar.gz
cpython-87e78ce1c65c299e5eeb07815a6b6e54a64aa673.tar.bz2
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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index fe9dde6..4b61e18 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)
{