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

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Tue Mar 11 19:50:34 GMT 2025



On 11/03/25 16:45, Florian Weimer wrote:
> * 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?

Yes, sorry I was not clear.


More information about the Libc-alpha mailing list