OSDN Git Service

* include/bits/stl_threads.h (_Atomic_swap): Kill it...
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)
commit08450f7e7163f0785f2c4b84060d47af96224598
treea1558f18a5fa30b3f3cba3a01604fd6338b293f5
parent2a04f36ab1e1f4338ca4f00d5cd11ac6e2e8c4d5
* include/bits/stl_threads.h (_Atomic_swap): Kill it...
(_Swap_lock_struct<>): ...and the horse it rode in on.
* src/globals.cc (_Swap_lock_struct<>): Likewise.
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
member to support...
* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
visibility rules related to POSIX threads.
* testsuite/thread/pthread7-rope.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66507 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_threads.h
libstdc++-v3/include/ext/ropeimpl.h
libstdc++-v3/include/ext/stl_rope.h
libstdc++-v3/src/globals.cc
libstdc++-v3/testsuite/thread/pthread7-rope.cc [new file with mode: 0644]