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
9a00e0a4
Commit
9a00e0a4
authored
Jun 18, 2013
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
parent
f0400bab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
Python/thread_pthread.h
Python/thread_pthread.h
+3
-0
No files found.
Misc/ACKS
View file @
9a00e0a4
...
...
@@ -327,6 +327,7 @@ Maxim Dzumanenko
Walter Dörwald
Hans Eckardt
Rodolpho Eckhardt
David Edelsohn
John Edmonds
Grant Edwards
John Ehresman
...
...
Misc/NEWS
View file @
9a00e0a4
...
...
@@ -141,6 +141,9 @@ Tools/Demos
Build
-----
-
Issue
#
18256
:
Compilation
fix
for
recent
AIX
releases
.
Patch
by
David
Edelsohn
.
-
Issue
#
15172
:
Document
NASM
2.10
+
as
requirement
for
building
OpenSSL
1.0.1
on
Windows
.
...
...
Python/thread_pthread.h
View file @
9a00e0a4
...
...
@@ -170,6 +170,7 @@ static void
PyThread__init_thread
(
void
)
{
#if defined(_AIX) && defined(__GNUC__)
extern
void
pthread_init
(
void
);
pthread_init
();
#endif
}
...
...
@@ -444,6 +445,7 @@ PyThread_free_lock(PyThread_type_lock lock)
pthread_lock
*
thelock
=
(
pthread_lock
*
)
lock
;
int
status
,
error
=
0
;
(
void
)
error
;
/* silence unused-but-set-variable warning */
dprintf
((
"PyThread_free_lock(%p) called
\n
"
,
lock
));
/* some pthread-like implementations tie the mutex to the cond
...
...
@@ -530,6 +532,7 @@ PyThread_release_lock(PyThread_type_lock lock)
pthread_lock
*
thelock
=
(
pthread_lock
*
)
lock
;
int
status
,
error
=
0
;
(
void
)
error
;
/* silence unused-but-set-variable warning */
dprintf
((
"PyThread_release_lock(%p) called
\n
"
,
lock
));
status
=
pthread_mutex_lock
(
&
thelock
->
mut
);
...
...
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