File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ Core and Builtins
3434Library
3535-------
3636
37+ - Issue #12372: POSIX semaphores are broken on AIX: don't use them.
38+
3739- Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2
3840 directory, so that "import DLFCN" and other similar imports work on
3941 Linux 3.0.
Original file line number Diff line number Diff line change @@ -8868,22 +8868,18 @@ $as_echo "#define _POSIX_THREADS 1" >>confdefs.h
88688868
88698869 # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
88708870 case $ac_sys_system /$ac_sys_release in
8871- SunOS/5.6)
8871+ SunOS/5.6)
88728872$as_echo " #define HAVE_PTHREAD_DESTRUCTOR 1" >> confdefs.h
88738873
88748874 ;;
88758875 SunOS/5.8)
88768876$as_echo " #define HAVE_BROKEN_POSIX_SEMAPHORES 1" >> confdefs.h
88778877
88788878 ;;
8879- AIX/5 )
8879+ AIX/* )
88808880$as_echo " #define HAVE_BROKEN_POSIX_SEMAPHORES 1" >> confdefs.h
88818881
88828882 ;;
8883- AIX/6)
8884- $as_echo " #define HAVE_BROKEN_POSIX_SEMAPHORES 1" >> confdefs.h
8885-
8886- ;;
88878883 esac
88888884
88898885 { $as_echo " $as_me :${as_lineno-$LINENO } : checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
Original file line number Diff line number Diff line change @@ -2239,18 +2239,15 @@ if test "$posix_threads" = "yes"; then
22392239
22402240 # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
22412241 case $ac_sys_system/$ac_sys_release in
2242- SunOS/5.6) AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
2242+ SunOS/5.6) AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
22432243 [Defined for Solaris 2.6 bug in pthread header.])
22442244 ;;
22452245 SunOS/5.8) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
22462246 [Define if the Posix semaphores do not work on your system])
22472247 ;;
2248- AIX/5 ) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
2248+ AIX/* ) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
22492249 [Define if the Posix semaphores do not work on your system])
22502250 ;;
2251- AIX/6) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
2252- Define if the Posix semaphores do not work on your system)
2253- ;;
22542251 esac
22552252
22562253 AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported)
You can’t perform that action at this time.
0 commit comments