[Bug libc/6399] gettid() should have a wrapper
mtk.manpages at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Feb 8 23:26:00 GMT 2013
http://sourceware.org/bugzilla/show_bug.cgi?id=6399
--- Comment #10 from Michael Kerrisk <mtk.manpages at gmail dot com> 2013-02-08 23:25:45 UTC ---
> I'd argue that this should not be a syscall wrapper. The libc
> can get this information out of the TLS segment _very_ quickly.
Given the unpleasant consequences that have resulted from PID caching for
getpid(), I'm sceptical that this is a good idea. At the very least, I wonder
if there is some subtle consequence that will bite us later.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list