[libc-commits] [libc] [libc] Make 'rand()' thread-safe using atomics instead of TLS (PR #96692)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Wed Jun 26 08:50:44 PDT 2024
nickdesaulniers wrote:
> And even then, should we really make this MT-unsafe if the atomics aren't fast?
I can forsee primitive microcontrollers which are single threaded wanting to make use of `rand`, and not caring about MT safety.
https://github.com/llvm/llvm-project/pull/96692
More information about the libc-commits
mailing list