Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
996f6067
Commit
996f6067
authored
Jul 21, 2011
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12372: POSIX semaphores are broken on AIX: don't use them.
parent
1beea5b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+2
-6
configure.in
configure.in
+2
-5
No files found.
Misc/NEWS
View file @
996f6067
...
...
@@ -34,6 +34,8 @@ Core and Builtins
Library
-------
- Issue #12372: POSIX semaphores are broken on AIX: don't use them.
- Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2
directory, so that "import DLFCN" and other similar imports work on
Linux 3.0.
...
...
configure
View file @
996f6067
...
...
@@ -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
...
...
configure.in
View file @
996f6067
...
...
@@ -2239,18 +2239,15 @@ if test "$posix_threads" = "yes"; then
# Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
case $ac_sys_system/$ac_sys_release in
SunOS/5.6) AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
SunOS/5.6) AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
[Defined for Solaris 2.6 bug in pthread header.])
;;
SunOS/5.8) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
[Define if the Posix semaphores do not work on your system])
;;
AIX/
5
) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
AIX/
*
) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
[Define if the Posix semaphores do not work on your system])
;;
AIX/6) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
Define if the Posix semaphores do not work on your system)
;;
esac
AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment