]> 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>
Tue, 29 Apr 2025 17:26:06 +0000 (13:26 -0400)
commitfc2a25417df71a1ef3613216269227b7721b21c8
tree88a88896d0d1c2d3db2aef05114b89f36843c9ab
parent6f5ba03968339122e11d5185fed5ff6f99ee4f28
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