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: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 11 Jan 2014 19:48:35 +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 #36 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
(In reply to Nicholas Miell from comment #31)
> (In reply to Justin Lebar from comment #29)
> Userspace should be using pthreads.
Wy? Why should glibc be imposing policy on how user space makes use of Linux
kernel features?
Glibc (rightly) exposes many non-POSIX features of the Linux kernel. gettid()
is just one more such case. By all means add pthreads wrappers for these
various other pieces, if someone wants them. But don't require everyone to use
the the pthreads API in order to access TIDs.
--
You are receiving this mail because:
You are on the CC list for the bug.