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]

Re: reference counting in string's allocator, where else?



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.

[...]


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