diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b368c027045..2fcc943b829 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2011-03-15 Benjamin Kosnik + + * include/std/thread: Revert. + * src/thread.cc: Same. + * config/abi/pre/gnu.ver: Same. + 2011-03-15 Doug Kwan PR libstdc++/48123 diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index d59521096ec..f1c503441b9 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1255,11 +1255,6 @@ GLIBCXX_3.4.15 { _ZTSNSt13__future_base11_State_baseE; _ZTVNSt13__future_base11_State_baseE; - _ZNSt6thread10_Impl_baseD*; - _ZTINSt6thread10_Impl_baseE; - _ZTSNSt6thread10_Impl_baseE; - _ZTVNSt6thread10_Impl_baseE; - } GLIBCXX_3.4.14; # Symbols in the support library (libsupc++) have their own tag. diff --git a/libstdc++-v3/include/std/thread b/libstdc++-v3/include/std/thread index e43c126cdce..de58e814100 100644 --- a/libstdc++-v3/include/std/thread +++ b/libstdc++-v3/include/std/thread @@ -100,7 +100,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { __shared_base_type _M_this_ptr; - virtual ~_Impl_base(); + inline virtual ~_Impl_base(); virtual void _M_run() = 0; }; @@ -195,6 +195,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } }; + inline thread::_Impl_base::~_Impl_base() = default; + inline void swap(thread& __x, thread& __y) { __x.swap(__y); } diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/thread.cc index 7c923a26610..c164e8a0161 100644 --- a/libstdc++-v3/src/thread.cc +++ b/libstdc++-v3/src/thread.cc @@ -54,8 +54,6 @@ namespace std _GLIBCXX_VISIBILITY(default) _GLIBCXX_BEGIN_NAMESPACE_VERSION - thread::_Impl_base::~_Impl_base() = default; - void thread::join() {