diff options
author | Chris Fairles <cfairles@gcc.gnu.org> | 2009-02-05 17:47:56 +0000 |
---|---|---|
committer | Chris Fairles <cfairles@gcc.gnu.org> | 2009-02-05 17:47:56 +0000 |
commit | 8644ecf59d370800fb1145f5facc66136d95039f (patch) | |
tree | 30d6e3368f5a827855d0c87cfc91d1ff138a7227 /libstdc++-v3/src/thread.cc | |
parent | ee04b57491958360b550bbb8047f85940ce28541 (diff) | |
download | gcc-8644ecf59d370800fb1145f5facc66136d95039f.zip gcc-8644ecf59d370800fb1145f5facc66136d95039f.tar.gz gcc-8644ecf59d370800fb1145f5facc66136d95039f.tar.bz2 |
thread (__thread_data_base): Nest class in std::thread.
2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
Benjamin Kosnik <bkoz@redhat.com>
* include/std/thread (__thread_data_base): Nest class in std::thread.
(__thread_data): Likewise.
(__thread_data_ptr): Nest typedef in std::thread.
* src/thread.cc (__thread_proxy): Qualify the above names.
* config/abi/pre/gnu.ver: Remove unused exports.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r143969
Diffstat (limited to 'libstdc++-v3/src/thread.cc')
-rw-r--r-- | libstdc++-v3/src/thread.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/src/thread.cc b/libstdc++-v3/src/thread.cc index 58e60cf..e3797e6 100644 --- a/libstdc++-v3/src/thread.cc +++ b/libstdc++-v3/src/thread.cc @@ -40,8 +40,9 @@ namespace std { void* __thread_proxy(void* __p) { - __thread_data_base* __t = static_cast<__thread_data_base*>(__p); - __thread_data_ptr __local_thread_data; + thread::__thread_data_base* __t = + static_cast<thread::__thread_data_base*>(__p); + thread::__thread_data_ptr __local_thread_data; __local_thread_data.swap(__t->_M_this_ptr); __try |