locale_t aware gettext() functions

Ulrich Drepper drepper@redhat.com
Fri Apr 29 18:08:00 GMT 2005


Bruno Haible wrote:
> Doing
> uselocale() each time the thread switches to a different session is more a
> hack than an object-oriented implementation.

I don't care about object-oriented.  Using uselocale() is the primary
way to use the thread-local locale.  I have no interest in adding
hundreds of new functions.  newlocale() is extremely fast, just a few
pointer operations.  It's the way to go.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050429/42264027/attachment.sig>


More information about the Libc-alpha mailing list