From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23759 invoked by alias); 11 Jan 2014 19:48:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 23697 invoked by uid 48); 11 Jan 2014 19:48:35 -0000 From: "mtk.manpages at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/6399] gettid() should have a wrapper Date: Sat, 11 Jan 2014 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mtk.manpages at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg00197.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=6399 --- Comment #36 from Michael Kerrisk --- (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.