mirror of
https://github.com/python/cpython.git
synced 2025-09-08 18:01:44 +00:00
Issue #12372: POSIX semaphores are broken on AIX: don't use them.
This commit is contained in:
parent
1beea5b7c1
commit
996f606787
3 changed files with 6 additions and 11 deletions
8
configure
vendored
8
configure
vendored
|
@ -8868,7 +8868,7 @@ $as_echo "#define _POSIX_THREADS 1" >>confdefs.h
|
|||
|
||||
# Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
|
||||
case $ac_sys_system/$ac_sys_release in
|
||||
SunOS/5.6)
|
||||
SunOS/5.6)
|
||||
$as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
|
@ -8876,14 +8876,10 @@ $as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h
|
|||
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
AIX/5)
|
||||
AIX/*)
|
||||
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
AIX/6)
|
||||
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue