[PATCH] Threadsafe locale initialization
Benjamin Kosnik
bkoz@redhat.com
Wed Oct 1 23:54:00 GMT 2003
Hi Pétur.
I like this patch very much, and consider this a necessary first step
for the detangling of the object files.
>This is needed so that locale can be initialized at any time during
>program execution, and so that facets can be constructed before
>locale::classic() is called. This means that locale no longer
>depends on iostreams being initialized at the beginning of the
>program.
Nice.
Here's a slightly modified version of this patch. I've tested it
x86/linux
x86/linux --enable-clocale=generic
x86/linux --disable-threads
etc etc.
Seems fine.
Loren, any thoughts?
-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20031001-1
Type: application/octet-stream
Size: 41970 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031001/4428cbfd/attachment.obj>
More information about the Libstdc++
mailing list