diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-01 10:06:45 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-01 10:06:45 +0000 |
commit | a79ad0b39b356a82b01dcc061d52b506bdf631e9 (patch) | |
tree | f75386ffb541630f9a5648bddd8e39156373c57b /libitm | |
parent | ee584ef105d93fbf5b26c76ff37371b58bb3da72 (diff) | |
download | gcc-a79ad0b39b356a82b01dcc061d52b506bdf631e9.tar.gz |
2012-03-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 184686 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@184689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-rw-r--r-- | libitm/ChangeLog | 5 | ||||
-rw-r--r-- | libitm/retry.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 2676cbef4b0..3e9e159f978 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -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. 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 |