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: "justin.lebar at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 21 Sep 2013 00:14:59 +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/>
http://sourceware.org/bugzilla/show_bug.cgi?id=6399
Justin Lebar <justin.lebar at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |justin.lebar at gmail dot com
--- Comment #20 from Justin Lebar <justin.lebar at gmail dot com> ---
> the syscalls that are already exposed by glibc and that (can) make use of
> kernel thread IDs are at least the following:
FWIW {get,set}priority() also take tid's on Linux. It's very hard to use these
correctly in a multithread environment, but it's basically impossible to do so
without gettid(). :)
--
You are receiving this mail because:
You are on the CC list for the bug.