This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6399] gettid() should have a wrapper
- From: "nmiell at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 11 Jan 2014 04:09:11 +0000
- Subject: [Bug libc/6399] gettid() should have a wrapper
- Auto-submitted: auto-generated
- References: <bug-6399-131 at http dot sourceware dot org/bugzilla/>
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.