aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getrandom-internal.h
diff options
context:
space:
mode:
authorMalte Skarupke <malteskarupke@fastmail.fm>2024-12-04 08:03:44 -0500
committerCarlos O'Donell <carlos@redhat.com>2025-01-17 14:56:58 -0500
commit929a4764ac90382616b6a21f099192b2475da674 (patch)
tree886660a2a2c2627681ebfb00826746b927d49d59 /sysdeps/unix/sysv/linux/getrandom-internal.h
parentc36fc50781995e6758cae2b6927839d0157f213c (diff)
downloadglibc-929a4764ac90382616b6a21f099192b2475da674.zip
glibc-929a4764ac90382616b6a21f099192b2475da674.tar.gz
glibc-929a4764ac90382616b6a21f099192b2475da674.tar.bz2
nptl: Use a single loop in pthread_cond_wait instaed of a nested loop
The loop was a little more complicated than necessary. There was only one break statement out of the inner loop, and the outer loop was nearly empty. So just remove the outer loop, moving its code to the one break statement in the inner loop. This allows us to replace all gotos with break statements. Signed-off-by: Malte Skarupke <malteskarupke@fastmail.fm> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/getrandom-internal.h')
0 files changed, 0 insertions, 0 deletions