]> 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>
Fri, 17 Jan 2025 19:56:58 +0000 (14:56 -0500)
commitc36fc50781995e6758cae2b6927839d0157f213c
tree6bc93c0e5115581d79791ebc81ec44ba3f3e2ac8
parent4f7b051f8ee3feff1b53b27a906f245afaa9cee1
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>
nptl/pthread_cond_wait.c
nptl/tst-cond22.c
sysdeps/nptl/bits/thread-shared-types.h
sysdeps/nptl/pthread.h