Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin
bionic
Commits
5207d78c
Commit
5207d78c
authored
15 years ago
by
David 'Digit' Turner
Browse files
Options
Download
Email Patches
Plain Diff
Fix typo that broke recursive mutexes implementation.
Change-Id: I832901604b487c6a50304c311b5ba135e153530d
parent
b5e4a416
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libc/bionic/pthread.c
libc/bionic/pthread.c
+1
-1
No files found.
libc/bionic/pthread.c
View file @
5207d78c
...
...
@@ -1124,7 +1124,7 @@ int pthread_mutex_unlock(pthread_mutex_t *mutex)
/* Wake one waiting thread, if any */
if
((
oldv
&
3
)
==
2
)
{
int
wake_op
=
shared
?
FUTEX_WA
IT_PRIVAT
E
:
FUTEX_WA
IT
;
int
wake_op
=
shared
?
FUTEX_WA
K
E
:
FUTEX_WA
KE_PRIVATE
;
__futex_syscall3
(
&
mutex
->
value
,
wake_op
,
1
);
}
return
0
;
...
...
This diff is collapsed.
Click to expand it.
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