stl_threads.h (_Atomic_swap): Kill it...
authorLoren J. Rittle <ljrittle@acm.org>
Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)
commit1976f0d995f1849964ee76f2c6606117971cb7b5
treea1558f18a5fa30b3f3cba3a01604fd6338b293f5
parent6ccfe27ca7807e9e467134b4e6695e3659fc5521
stl_threads.h (_Atomic_swap): Kill it...

* 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.

From-SVN: r66507
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]