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


In article <20031001185350.02539a5b.bkoz@redhat.com>,
Benjamin Kosnik<bkoz@redhat.com> writes:

>> 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.

> Loren, any thoughts?

I see it is already in.  ;) It is unfortunate but
__gthread_once(...,func) indeed returns an error instead of just
directly running func when __gthread_active_p()==0.  I see you have
already fixed that based on other feedback.

I only eyed the rest of the patch.

Loren


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