remove support for BSD/OS (closes bpo-31624) (#3812)

This commit is contained in:
Benjamin Peterson 2017-09-28 22:44:27 -07:00 committed by GitHub
parent a106aec2ed
commit 288d1daada
10 changed files with 11 additions and 69 deletions

View file

@ -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.
*/