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
1a1a06ee
Commit
1a1a06ee
authored
Jun 18, 2013
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
parents
360b89ca
9a00e0a4
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 @
1a1a06ee
...
...
@@ -334,6 +334,7 @@ Maxim Dzumanenko
Walter Dörwald
Hans Eckardt
Rodolpho Eckhardt
David Edelsohn
John Edmonds
Grant Edwards
John Ehresman
...
...
Misc/NEWS
View file @
1a1a06ee
...
...
@@ -537,6 +537,9 @@ IDLE
Build
-----
- Issue #18256: Compilation fix for recent AIX releases. Patch by
David Edelsohn.
- Issue #17547: In configure, explicitly pass -Wformat for the benefit for GCC
4.8.
...
...
Python/thread_pthread.h
View file @
1a1a06ee
...
...
@@ -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