]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Remove unused __g_refs comment.
authorCarlos O'Donell <carlos@redhat.com>
Fri, 7 Feb 2025 18:01:36 +0000 (13:01 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 13 Feb 2025 19:25:25 +0000 (14:25 -0500)
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

index f915873f8ced0c5000bdc5a1f543b4cbb97fca0a..c6461bd116dde4fe612b0cf7280b8e3356f64f3d 100644 (file)
@@ -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