From: Carlos O'Donell Date: Fri, 7 Feb 2025 18:01:36 +0000 (-0500) Subject: nptl: Remove unused __g_refs comment. X-Git-Tag: glibc-2.42~484 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=991febc2f46d51801691bbd489d290820728d241;p=thirdparty%2Fglibc.git 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. --- 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