[COMMITTED] nptl: Remove unused __g_refs comment.

Carlos O'Donell carlos@redhat.com
Thu Feb 13 19:27:14 GMT 2025


In the block comment for __pthread_cond_wait_common we mention
__g_refs, but the implementation no longer uses group references.
---
 nptl/pthread_cond_wait.c | 5 -----
 1 file changed, 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
-- 
2.48.1



More information about the Libc-alpha mailing list