__librt_multiple_threads for nptl?
Alexandre Oliva
aoliva@redhat.com
Mon Feb 7 08:46:00 GMT 2005
No current ports need this (not even the FR-V port, that has recently
been converted to use info from the TCB instead of relying on this
global var), but it was surprising to me that any DTV_AT_TP port is
now required to use this trick. It sure is a tiny little bit more
efficient for uses within librt, but what if it required an ABI
change?
I was a bit concerned about breaking ABI compatibility changing FR-V
to use multiple_threads in the TCB, as opposed to using this
variable, but I'm now convinced it's not an issue. Am I mistake?
Anyhow, how about installing this patch, or at least enabling a port
to define some macro to get this variable defined in librt? Some mq
functions definitely need it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-nptl-librt-multiple-threads.patch
Type: text/x-patch
Size: 1298 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20050207/818f3533/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Libc-hacker
mailing list