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
1 changed files with 4 additions and 1 deletions

View File

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