From: | butlerm(at)middle(dot)net (Mark Butler) |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Reentrant Locale API |
Date: | 2003-11-19 19:00:38 |
Message-ID: | ddfa876f.0311191100.2eb6ffff@posting.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Where have you found this?
>
> I've been looking for that but have not found it. I run a rh9 system, do
> you have something newer? Maybe I have just not looked in the right place
> in the documentation.
Glibc 2.3 implements both reentrant and a thread local locale APIs.
The reentrant API provides versions of isalpha, isupper, toupper,
strcoll, and so on that take a separate locale parameter.
The thread locale API is simpler - it adds new a uselocale() function,
that once called places a thread in its own thread specific local,
after which all locale dependent functions use the thread locale
instead of the global one (which is the default for backward
compatibility).
See this paper for details:
From | Date | Subject | |
---|---|---|---|
Next Message | Nigel J. Andrews | 2003-11-19 19:10:35 | Re: Commercial binary support? |
Previous Message | Bruce Momjian | 2003-11-19 18:56:08 | Re: Commercial binary support? |