[Bug 296410] sprintf/vfprintf not thread safe on AArch64 due to localeconv_l using atomic_store_int, with relaxed semantics
Date: Tue, 30 Jun 2026 23:01:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296410
Konstantin Belousov <kib@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib@FreeBSD.org
--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
It is easy to change to store_rel in lib/libc/locale/localeconv.c, but is it
enough?
Suppose that we did not observed numeric_locale_changed != 0, but did observed
new values from some loaded fields. Could this inconsistency cause issues?
If yes, we need something like seqlocks, as used by timecounters and
filedescriptors.
--
You are receiving this mail because:
You are the assignee for the bug.