projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f911cc4
)
2003-03-17 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 18 Mar 2003 01:21:42 +0000
(
01:21
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 18 Mar 2003 01:21:42 +0000
(
01:21
+0000)
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait):
Formatting tweaks.
nptl/sysdeps/unix/sysv/linux/lowlevellock.c
patch
|
blob
|
history
diff --git
a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
index
99f804c
..
cdde262
100644
(file)
--- a/
nptl/sysdeps/unix/sysv/linux/lowlevellock.c
+++ b/
nptl/sysdeps/unix/sysv/linux/lowlevellock.c
@@
-28,8
+28,11
@@
void
__lll_lock_wait (int *futex, int val)
{
do
+ {
lll_futex_wait (futex, val + 1);
- while ((val = __lll_add (futex, 1)) != 0);
+ val = __lll_add (futex, 1);
+ }
+ while (val != 0);
*futex = 2;
}
hidden_proto (__lll_lock_wait)