[Bug nptl/27880] Please provide a pthread pid accessor

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed May 19 20:49:35 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27880

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to hpa@zytor.com from comment #8)
> Since MacOS X already has pthread_threadid_np(), I think we should mimic
> that.
> 
> And yes ->tid seems like the sane thing.

pthread_threadid_np seems to return a 64-bit unique ID. Our interface won't do
that, so I think we should use a different function name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list