[PATCH 1/3] Linux: Add the pthread_gettid_np function

Florian Weimer fweimer@redhat.com
Tue Mar 11 19:45:57 GMT 2025


* Adhemerval Zanella Netto:

> The main difference is bionic will always abort on invalid pthread_t,
> so it helps to catch potential UB of accessing a pthread_t with an
> expired lifetime.  But I agree that we already don't this for other
> interfaces, so I don't think it should a requirement for this as well.

Thanks.  I assume this means you won't object to this going in after the
usual review, with the current implementation?

Florian



More information about the Libc-alpha mailing list