From bc8da6ba25c77f0dc7da0fd37b10119a42a0d532 Mon Sep 17 00:00:00 2001 From: Torvald Riegel Date: Fri, 24 Feb 2012 11:05:37 +0000 Subject: 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 --- libitm/retry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libitm/retry.cc') diff --git a/libitm/retry.cc b/libitm/retry.cc index 2c1483e..660bf52 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 -- cgit v1.1