This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6399] gettid() should have a wrapper


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

--- Comment #28 from Nicholas Miell <nmiell at gmail dot com> ---
If the application wants to implement their own threading library, they can
implement their own gettid() wrapper.

If the application isn't implementing their own threading library, then the
application is using pthreads, which operates on pthread_t, not TIDs.

If the application isn't implementing their own threading library and isn't
using pthreads, they it has no reason to ever use TIDs because it only has the
one TID which is also the PID.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]