Message ID | 1330004063.2986.2789.camel@triegel.csb |
---|---|
State | New |
Headers | show |
On 02/23/12 05:34, Torvald Riegel wrote: > 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. Ok. r~
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