This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: reference counting in string's allocator, where else?
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: reference counting in string's allocator, where else?
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Tue, 28 Aug 2001 18:38:41 -0500 (CDT)
- Cc: Andrew dot Lundgren at Level3 dot com
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
- References: <Pine.GSO.4.33.0108281044050.5805-100000@anaconda.vdev.level3.net>
- Reply-to: rittle at labs dot mot dot com
I just wrote:
> If you configured 2.95.X with --enable-threads and your port is
> configured to support threads when that switch is given (or you
> explicitly configured with --enable-threads=X where X is supported by
> your platform) AND you gave the correct compile and link time flags
> for your platform, then container allocators should be thread-safe.
[In light of Jason's response to another e-mail thread, I feel
compelled to add:]
...according to the SGI rules for STL...
> This may be true for string allocators, but I have no knowledge of
> that code base.
[...]