r177717 - in /branches/transactional-memory/lib...

torvald@gcc.gnu.org torvald@gcc.gnu.org
Fri Aug 12 17:54:00 GMT 2011


Author: torvald
Date: Fri Aug 12 17:54:37 2011
New Revision: 177717

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177717
Log:
Removed gtm_thread and threadnum. Renamed gtm_transaction to gtm_thread.

	* config/x86/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
	(abi_disp, set_abi_disp): Move to tx's TLS slot.
	(set_gtm_thr): New.
	* config/generic/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
	(set_gtm_thr): New.
	(GTM::gtm_thread::thread_num): Removed.
	(GTM::gtm_thread): Renamed to GTM::gtm_thread_tls.
	* libitm_i.h (GTM::gtm_transaction): Renamed to GTM::gtm_thread. More
	tx-to-thread renaming.
	* beginend.cc: Adapted to tx-to-thread renaming.
	(GTM::gtm_thread::~gtm_thread): Extracted from thread_exit_handler().
	(GTM::gtm_thread::gtm_thread): Extracted from begin_transaction().
	* query.cc (_ITM_getTransactionId, _ITM_inTransaction): Renamed
	gtm_transaction to gtm_thread.
	(_ITM_getThreadnum): Removed. Not supported anymore.
	* testsuite/libitm.c/notx.c (main): Removed _ITM_getThreadnum call.
	* libitm.texi: Documented that _ITM_getThreadnum is not supported.
	* useraction.cc: Renamed gtm_transaction to gtm_thread. Adapted to
	gtm_tx-to-gtm_thr renaming if necessary.
	* eh_cpp.cc: Same.
	* local.cc: Same.
	* retry.cc: Same.
	* clone.cc: Same.
	* alloc.cc: Same.
	* alloc_c.cc: Same.
	* alloc_cpp.cc: Same.
	* method-serial.cc: Same.
	* config/generic/tls.cc: Same.
	* config/posix/rwlock.h (gtm_rwlock): Same.
	* config/posix/rwlock.cc: Same. Adapted to more tx-to-thread renaming.

Modified:
    branches/transactional-memory/libitm/ChangeLog
    branches/transactional-memory/libitm/alloc.cc
    branches/transactional-memory/libitm/alloc_c.cc
    branches/transactional-memory/libitm/alloc_cpp.cc
    branches/transactional-memory/libitm/beginend.cc
    branches/transactional-memory/libitm/clone.cc
    branches/transactional-memory/libitm/config/generic/tls.cc
    branches/transactional-memory/libitm/config/generic/tls.h
    branches/transactional-memory/libitm/config/posix/rwlock.cc
    branches/transactional-memory/libitm/config/posix/rwlock.h
    branches/transactional-memory/libitm/config/x86/tls.h
    branches/transactional-memory/libitm/eh_cpp.cc
    branches/transactional-memory/libitm/libitm.texi
    branches/transactional-memory/libitm/libitm_i.h
    branches/transactional-memory/libitm/local.cc
    branches/transactional-memory/libitm/method-serial.cc
    branches/transactional-memory/libitm/query.cc
    branches/transactional-memory/libitm/retry.cc
    branches/transactional-memory/libitm/testsuite/libitm.c/notx.c
    branches/transactional-memory/libitm/useraction.cc



More information about the Gcc-cvs mailing list