summaryrefslogtreecommitdiff
path: root/libitm/retry.cc
diff options
context:
space:
mode:
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-24 11:05:37 +0000
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-24 11:05:37 +0000
commited000476d0b0562da82c677e6091a0e489a12ee9 (patch)
treec03ab51a847d4cb40b407251213f08cb6156571b /libitm/retry.cc
parent10b55fcbf1927bddcc5e006756b0086b6e28eb2c (diff)
downloadgcc-ed000476d0b0562da82c677e6091a0e489a12ee9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/retry.cc')
-rw-r--r--libitm/retry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/retry.cc b/libitm/retry.cc
index 2c1483eae5a..660bf5244e3 100644
--- a/libitm/retry.cc
+++ b/libitm/retry.cc
@@ -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