libitm: Improve method reinit and choice.
authorTorvald Riegel <triegel@redhat.com>
Tue, 14 Feb 2012 13:14:12 +0000 (13:14 +0000)
committerTorvald Riegel <torvald@gcc.gnu.org>
Tue, 14 Feb 2012 13:14:12 +0000 (13:14 +0000)
commit5b9cf5d2bf66a36b0716e07044d492b91dd835a2
tree0c010bcc192851eb16058d7cb732414acc193075
parent7d33bcb73866d5310b4eb190172240bcb71f51f6
libitm: Improve method reinit and choice.

libitm/
* dispatch.h (GTM::abi_dispatch::supports): New.
(GTM::method_group::reinit): New.
* retry.cc (GTM::gtm_thread::decide_retry_strategy): Use reinit().
(GTM::gtm_thread::number_of_threads_changed): Check that the method
supports the current situation.

From-SVN: r184211
libitm/ChangeLog
libitm/dispatch.h
libitm/retry.cc