gcc/libitm/config
Torvald Riegel 610e390135 libitm: Fix privatization safety during upgrades to serial mode.
libitm/
	* beginend.cc (GTM::gtm_thread::restart): Add and handle
	finish_serial_upgrade parameter.
	* libitm.h (GTM::gtm_thread::restart): Adapt declaration.
	* config/linux/rwlock.cc (GTM::gtm_rwlock::write_lock_generic):
	Don't unset reader flag.
	(GTM::gtm_rwlock::write_upgrade_finish): New.
	* config/posix/rwlock.cc: Same.
	* config/linux/rwlock.h (GTM::gtm_rwlock::write_upgrade_finish):
	Declare.
	* config/posix/rwlock.h: Same.
	* method-serial.cc (GTM::gtm_thread::serialirr_mode): Unset reader
	flag after commit or after rollback when restarting.

From-SVN: r182675
2011-12-24 01:42:35 +00:00
..
alpha libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
arm arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
generic arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
linux libitm: Fix privatization safety during upgrades to serial mode. 2011-12-24 01:42:35 +00:00
posix libitm: Fix privatization safety during upgrades to serial mode. 2011-12-24 01:42:35 +00:00
sh configure.tgt: Add sh* case. 2011-12-17 03:19:40 +00:00
x86 libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00