This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: locale_t aware gettext() functions


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 â

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]