[libc-commits] [libc] [libc][stdlib] Remove LIBC_THREAD_LOCAL from rand_next (PR #96245)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Jun 20 15:56:37 PDT 2024


nickdesaulniers wrote:

> I thought LIBC_THREAD_LOCAL was just empty on platforms that didn't support it (baremetal) so this is a no-op?

This code is also the only user of ThreadLocal, so we could probably delete src/stdlib/rand_util.h if we remove ThreadLocal.

https://github.com/llvm/llvm-project/pull/96245


More information about the libc-commits mailing list