]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Remove g_refs from condition variables
authorMalte Skarupke <malteskarupke@fastmail.fm>
Wed, 4 Dec 2024 12:56:38 +0000 (07:56 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Mon, 28 Apr 2025 16:51:51 +0000 (12:51 -0400)
commita2465f4293ecc37ac4650fbd02e517bc6fd801c6
treed7fac4dc7462c36ddafd1fc539ad8732ef926adb
parent2a259b6d77dc5bdab5c8f4ee0e69572d5699d4bf
nptl: Remove g_refs from condition variables

This variable used to be needed to wait in group switching until all sleepers
have confirmed that they have woken. This is no longer needed. Nothing waits
on this variable so there is no need to track how many threads are currently
asleep in each group.

Signed-off-by: Malte Skarupke <malteskarupke@fastmail.fm>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit c36fc50781995e6758cae2b6927839d0157f213c)
nptl/pthread_cond_wait.c
nptl/tst-cond22.c
sysdeps/nptl/bits/thread-shared-types.h
sysdeps/nptl/pthread.h