summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2022-01-18 20:38:35 (GMT)
committerGitHub <noreply@github.com>2022-01-18 20:38:35 (GMT)
commit60ceedbdd5b5fb22803039a59954798d931f659a (patch)
tree0bed8e690a78c2b816fe26d6f7902eb2e15ad0e0 /configure.ac
parent65940fa5c12a4b4a0650c7845044ffd63b94e227 (diff)
downloadcpython-60ceedbdd5b5fb22803039a59954798d931f659a.zip
cpython-60ceedbdd5b5fb22803039a59954798d931f659a.tar.gz
cpython-60ceedbdd5b5fb22803039a59954798d931f659a.tar.bz2
bpo-46045: Do not use POSIX semaphores on NetBSD (GH-30047)
This fixes hanging tests test_compileall,, test_multiprocessing_fork and test_concurrent_futures.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7b084a2..aea1212 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],