This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Are there any moves afoot to make libstdc++ thread safe
- To: John Allen <john dot allen at online dot ie>
- Subject: Re: Are there any moves afoot to make libstdc++ thread safe
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Wed, 8 Nov 2000 17:03:53 -0500
- Cc: libstdc++ at sourceware dot cygnus dot com
- References: <973518432.3a06b660efeb7@mail.online.ie> <3A099B9A.AAB010AB@online.ie>
On Wed, Nov 08, 2000 at 06:29:46PM +0000, John Allen wrote:
> john.allen@online.ie wrote:
>
> > I'd be more than willing to get involved in making the GNU STD C++
> > library thread safe.
>
> OK, no response, probably no interest.
We just get busy at times. There is a great deal of interest in making
libstdc++-v3 threadsafe. Just look over the archives of this mailing list,
especially for the phrase "--enable-threads".
> I am going to proceed with a minimalist mutex, and atomic integer
> class for use in libstdc++
If that's the area you want to work on, please see the files in config,
config/cpu, and config/os for how this is being done.
However...
> I have already patched bstring.* to be thread safe.
...it looks like you're working on the wrong library. The old library,
libstdc++-v2, used bastring. What's more, -v2 is not standard-compliant
and nobody is going to improve it. The library for this list is -v3,
and is completely new. Does that clear things up?
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.