This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  d2e799daa9f87b1102605847c2e79f15fe0f9470 (commit)
      from  4a3b2d4bd4c0b2d55b5fbcbeed74a528c8572bc3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d2e799daa9f87b1102605847c2e79f15fe0f9470
Author: Milos Nikic <[email protected]>
Date:   Mon Nov 2 08:50:50 2026 -0800

    Add --enable-mutex-debug, for error-checking mutexes
    
    A default mutex records no owner, so an unlock by a thread that does
    not hold it, or of one nobody holds, passes silently and takes the lock
    from its holder: such a bug only shows when another thread races for
    that lock, far from the faulty unlock.
    
    With --enable-mutex-debug, every C file is compiled with
    libshouldbeinlibc/mutex-debug.h included first.  It makes the mutexes
    that are initialized with no attributes, or with
    PTHREAD_MUTEX_INITIALIZER, error-checking ones, and stops the program
    with a backtrace when a lock or unlock fails.  It only changes the
    compiler flags, so it works for a native build and for a cross build,
    and a system or a sub-Hurd built with it can run packages' test suites
    with every unbalanced lock caught where it happens.

-----------------------------------------------------------------------

Summary of changes:
 Makeconf                        |  6 +++
 config.make.in                  |  1 +
 configure.ac                    |  6 +++
 libshouldbeinlibc/mutex-debug.h | 94 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 107 insertions(+)
 create mode 100644 libshouldbeinlibc/mutex-debug.h


hooks/post-receive
-- 
Hurd

Reply via email to