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]

[patch] Make std::tr1::shared_ptr thread-safe.


These patches make std::tr1::shared_ptr thread-safe and change some
tests to check equality, not inequality, since we know what value we
expect and it's better to be precise about what we're checking.

I've also changed some tests so they use "dg-excess-errors" instead of
multiple "dg-error" lines which need their line numbers kept in sync.

Also made one test an XFAIL, so it behaves consistently when using
-fno-exceptions.

Tested x86_64 Linux on mainline, will check 4.0 shortly.

OK to commit to mainline and 4.0 (assuming 4.0 tests also pass) ?

jon


Attachment: libstdcxx-changelog.patch
Description: Text document

Attachment: libstdcxx-shared_ptr_mutex.patch
Description: Text document

Attachment: libstdcxx-tests_shared_ptr.patch
Description: Text document


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