2003-03-17 Roland McGrath <roland@redhat.com>

* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait):
	Formatting tweaks.
This commit is contained in:
Roland McGrath 2003-03-18 01:21:42 +00:00
parent f911cc4a74
commit 5bfd37b634

View File

@ -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)