r217452 - in /trunk/libstdc++-v3: ChangeLog con...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Nov 12 23:55:00 GMT 2014


Author: redi
Date: Wed Nov 12 23:55:11 2014
New Revision: 217452

URL: https://gcc.gnu.org/viewcvs?rev=217452&root=gcc&view=rev
Log:
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.

Added:
    trunk/libstdc++-v3/include/bits/shared_ptr_atomic.h
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/1.cc
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/2.cc
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver
    trunk/libstdc++-v3/include/Makefile.am
    trunk/libstdc++-v3/include/Makefile.in
    trunk/libstdc++-v3/include/std/memory
    trunk/libstdc++-v3/src/c++11/shared_ptr.cc



More information about the Libstdc++-cvs mailing list