aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2025-02-07 13:01:36 -0500
committerCarlos O'Donell <carlos@redhat.com>2025-02-13 14:25:25 -0500
commit991febc2f46d51801691bbd489d290820728d241 (patch)
treeb3ce0093f4f265030d4f2fa1b4b29dfeee56559e /nptl
parenta30374e4ce29197e281beefb6e55e218539e6d58 (diff)
downloadglibc-991febc2f46d51801691bbd489d290820728d241.tar.xz
glibc-991febc2f46d51801691bbd489d290820728d241.zip
nptl: Remove unused __g_refs comment.
In the block comment for __pthread_cond_wait_common we mention __g_refs, but the implementation no longer uses group references.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_cond_wait.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index f915873f8c..c6461bd116 100644
--- a/nptl/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
@@ -273,11 +273,6 @@ __condvar_cleanup_waiting (void *arg)
(If the format of __wrefs is changed, update nptl_lock_constants.pysym
and the pretty printers.)
For each of the two groups, we have:
- __g_refs: Futex waiter reference count.
- * LSB is true if waiters should run futex_wake when they remove the
- last reference.
- * Reference count used by waiters concurrently with signalers that have
- acquired the condvar-internal lock.
__g_signals: The number of signals that can still be consumed, relative to
the current g1_start. (i.e. g1_start with the signal count added)
* Used as a futex word by waiters. Used concurrently by waiters and