This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r144007 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: bkoz
Date: Sat Feb  7 21:56:55 2009
New Revision: 144007

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144007
Log:
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.


Added:
    trunk/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/id/
    trunk/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/member/hardware_concurrency.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/swap/   (props changed)
      - copied from r144001, trunk/libstdc++-v3/testsuite/30_threads/thread/algorithm/
Removed:
    trunk/libstdc++-v3/testsuite/30_threads/thread/algorithm/
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/thread
    trunk/libstdc++-v3/src/thread.cc

Propchange: trunk/libstdc++-v3/testsuite/30_threads/thread/swap/
            ('svn:mergeinfo' added)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]