OSDN Git Service

libitm: Improve method reinit and choice.
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Feb 2012 13:14:12 +0000 (13:14 +0000)
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Feb 2012 13:14:12 +0000 (13:14 +0000)
commitef3a70c39560b819a3731adc4079c643aa75c20b
tree0c010bcc192851eb16058d7cb732414acc193075
parentc625f5685bcb1609fbfde7535e90de262fedd91f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184211 138bc75d-0d04-0410-961f-82ee72b054a4
libitm/ChangeLog
libitm/dispatch.h
libitm/retry.cc