aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/config/abi/pre/gnu.ver5
-rw-r--r--libstdc++-v3/include/std/thread4
-rw-r--r--libstdc++-v3/src/thread.cc2
4 files changed, 9 insertions, 8 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b368c02..2fcc943 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/std/thread: Revert.
+ * src/thread.cc: Same.
+ * config/abi/pre/gnu.ver: Same.
+
2011-03-15 Doug Kwan <dougkwan@google.com>
PR libstdc++/48123
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver
index d5952109..f1c5034 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 e43c126..de58e81 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 7c923a2..c164e8a 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()
{