mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 15:19:46 +08:00
libitm: Use ml_wt as default TM methods for >1 thread.
libitm/ * retry.cc (GTM::gtm_thread::number_of_threads_changed): Change default dispatch for more than 1 thread to ml_wt. From-SVN: r184547
This commit is contained in:
parent
b8f4632ce8
commit
bc8da6ba25
@ -1,3 +1,8 @@
|
||||
2012-02-24 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* retry.cc (GTM::gtm_thread::number_of_threads_changed): Change
|
||||
default dispatch for more than 1 thread to ml_wt.
|
||||
|
||||
2012-02-20 Torvald Riegel <triegel@redhat.com>
|
||||
|
||||
* method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline.
|
||||
|
@ -314,7 +314,7 @@ GTM::gtm_thread::number_of_threads_changed(unsigned previous, unsigned now)
|
||||
set_default_dispatch(default_dispatch_user);
|
||||
else
|
||||
{
|
||||
abi_dispatch* a = dispatch_serialirr_onwrite();
|
||||
abi_dispatch* a = dispatch_ml_wt();
|
||||
if (a->supports(now))
|
||||
set_default_dispatch(a);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user