This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [PATCH] Threadsafe locale initialization


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

Attachment: p.20031001-1
Description: Binary data


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