stdlib: Fix data race in __run_exit_handlers

Samuel Thibault samuel.thibault@gnu.org
Tue Nov 18 09:55:24 GMT 2025


Vitaly Buka, le lun. 17 nov. 2025 22:47:03 -0800, a ecrit:
> registered is incremented more than 10k, because it's continuously decremented
> in atexit_cb.

Ah, I missed that line, ok, thanks!

> This is a test to reproduce datarace, very flaky. I couldn't figure out a
> better one.

Dataraces are always hard to reproduce :)

Samuel


More information about the Libc-alpha mailing list