[libc-commits] [libc] [libc] Add an extension macro to get numerical thread id (PR #195202)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Wed May 6 10:41:26 PDT 2026
petrhosek wrote:
For pthreads we could just implement `pthread_getthreadid_np()` since it's already supported by a number of different C library implementations, not just glibc, so at this point it's the de-facto standard (I'm not sure if we already have a plan for implementing other `_np` functions).
https://github.com/llvm/llvm-project/pull/195202
More information about the libc-commits
mailing list