[libc-commits] [libc] [libc][stdlib] Remove LIBC_THREAD_LOCAL from rand_next (PR #96245)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Thu Jun 20 16:44:39 PDT 2024
SchrodingerZhu wrote:
I am curious about what **MT-Safe** means exactly here.
For example, this function https://android.googlesource.com/platform/bionic/+/android-4.2.2_r1/libc/bionic/tdestroy.c is clearly not to be called concurrently on the same tree, while POSIX and [this manpage](https://man7.org/linux/man-pages/man3/tsearch.3.html) claims it is **MT-safe**.
https://github.com/llvm/llvm-project/pull/96245
More information about the libc-commits
mailing list