diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2009-02-07 21:56:55 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2009-02-07 21:56:55 +0000 |
commit | d7afcd2b9ba4534fce7ec4d6d31a508af312b928 (patch) | |
tree | ab7a64f83b4f9ff2ad08ff622a70bd0a6957bf87 /libjava/java/util/Hashtable$1.h | |
parent | 5a7e237c637967eed5edff0a889c643ced174b33 (diff) | |
download | gcc-d7afcd2b9ba4534fce7ec4d6d31a508af312b928.zip gcc-d7afcd2b9ba4534fce7ec4d6d31a508af312b928.tar.gz gcc-d7afcd2b9ba4534fce7ec4d6d31a508af312b928.tar.bz2 |
thread (thread::id): Move definition inside thread.
2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
* include/std/thread (thread::id): Move definition inside thread.
Use native_handle_type. Remove this_thread::get_id friend.
Change __thread_data_ptr to __shared_base_ptr.
(thread::id::id(native_handle_type): Make public. Still explicit.
Use native_handle_type. Change _M_thread_id to _M_thread.
(thread::__thread_data_base): Rename to _Impl_base. Use id, change
_M_thread_handle to _M_id.
(thread::__thread_data): Rename to _Impl.
Fixup for renames.
(thread::_M_make_thread_data): Return derived type.
(thread::hardware_concurrency): Add definition for default case.
(thread::get_id): Now can define inline.
(thread): Change _M_thread_data to _M_data.
(this_thread::get_id): Now can define inline.
* src/thread.cc (__thread_proxy): Rename to
execute_native_thread_routine.
Fixup for other renames.
* testsuite/30_threads/thread/cons/assign_neg.cc: New.
* testsuite/30_threads/thread/cons/copy_neg.cc: New.
* testsuite/30_threads/thread/algorithm: Move to..
* testsuite/30_threads/thread/swap: ...this.
* testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
* testsuite/30_threads/thread/id/operators.cc: New.
From-SVN: r144007
Diffstat (limited to 'libjava/java/util/Hashtable$1.h')
0 files changed, 0 insertions, 0 deletions