mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
2003-03-17 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait): Formatting tweaks.
This commit is contained in:
parent
f911cc4a74
commit
5bfd37b634
@ -28,8 +28,11 @@ void
|
|||||||
__lll_lock_wait (int *futex, int val)
|
__lll_lock_wait (int *futex, int val)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
|
{
|
||||||
lll_futex_wait (futex, val + 1);
|
lll_futex_wait (futex, val + 1);
|
||||||
while ((val = __lll_add (futex, 1)) != 0);
|
val = __lll_add (futex, 1);
|
||||||
|
}
|
||||||
|
while (val != 0);
|
||||||
*futex = 2;
|
*futex = 2;
|
||||||
}
|
}
|
||||||
hidden_proto (__lll_lock_wait)
|
hidden_proto (__lll_lock_wait)
|
||||||
|
Loading…
Reference in New Issue
Block a user