std::shared_ptr atomic operations
authorJonathan Wakely <jwakely@redhat.com>
Wed, 12 Nov 2014 23:55:11 +0000 (23:55 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 12 Nov 2014 23:55:11 +0000 (23:55 +0000)
commitbe8de8946ed904c92c09dadb158e76c9c5044d11
tree7ee9e4d194e27f91eae668a26c02507636c07454
parentabb502071166f1eee1869cd5304d30d6763979f9
std::shared_ptr atomic operations

PR libstdc++/57250
* config/abi/pre/gnu.ver: Export new symbols.
* include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate.
* include/bits/shared_ptr_atomic.h: Define atomic access functions.
* include/std/memory: Include new header.
* src/c++11/shared_ptr.cc (_Sp_locker): Define and use mutex pool.
* testsuite/20_util/shared_ptr/atomic/1.cc: New.
* testsuite/20_util/shared_ptr/atomic/2.cc: New.
* testsuite/20_util/shared_ptr/atomic/3.cc: New.

From-SVN: r217452
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/shared_ptr_atomic.h [new file with mode: 0644]
libstdc++-v3/include/std/memory
libstdc++-v3/src/c++11/shared_ptr.cc
libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc [new file with mode: 0644]