mirror of https://github.com/python/cpython
bpo-46045: Do not use POSIX semaphores on NetBSD (GH-30047)
This fixes hanging tests test_compileall,, test_multiprocessing_fork and test_concurrent_futures.
This commit is contained in:
parent
65940fa5c1
commit
60ceedbdd5
|
@ -0,0 +1 @@
|
|||
Do not use POSIX semaphores on NetBSD
|
|
@ -13006,6 +13006,10 @@ $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
|||
AIX/*)
|
||||
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
NetBSD/*)
|
||||
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -3716,6 +3716,9 @@ if test "$posix_threads" = "yes"; then
|
|||
AIX/*) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
|
||||
[Define if the Posix semaphores do not work on your system])
|
||||
;;
|
||||
NetBSD/*) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
|
||||
[Define if the Posix semaphores do not work on your system])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CACHE_CHECK([if PTHREAD_SCOPE_SYSTEM is supported], [ac_cv_pthread_system_supported],
|
||||
|
|
Loading…
Reference in New Issue