diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-29 05:44:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 05:44:27 (GMT) |
commit | 288d1daadaddf6ae35cf666138ba4b5d07449657 (patch) | |
tree | 1cfefe910f99901373d7253bf9be9c5074dee0ea /Python/thread_pthread.h | |
parent | a106aec2ed6ba171838ca7e6ba43c4e722bbecd1 (diff) | |
download | cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.zip cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.gz cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.bz2 |
remove support for BSD/OS (closes bpo-31624) (#3812)
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r-- | Python/thread_pthread.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index ea05b6f..2dcd107 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -149,25 +149,6 @@ typedef struct { /* * Initialization. */ - -#if defined(_HAVE_BSDI) -static -void _noop(void) -{ -} - -static void -PyThread__init_thread(void) -{ - /* DO AN INIT BY STARTING THE THREAD */ - static int dummy = 0; - pthread_t thread1; - pthread_create(&thread1, NULL, (void *) _noop, &dummy); - pthread_join(thread1, NULL); -} - -#else /* !_HAVE_BSDI */ - static void PyThread__init_thread(void) { @@ -177,8 +158,6 @@ PyThread__init_thread(void) #endif } -#endif /* !_HAVE_BSDI */ - /* * Thread support. */ |