diff options
author | Torvald Riegel <triegel@redhat.com> | 2012-10-24 19:52:02 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2012-10-24 19:52:02 +0000 |
commit | b679c81340ece3ceecbd74d46a1af6fe473813bc (patch) | |
tree | eb6dab1987f0c9c1f49fce76ba1dd1d8267e3277 /libitm/method-ml.cc | |
parent | 1a6c552d12026ee85c819dfe6f2c83bc59aaa28f (diff) | |
download | gcc-b679c81340ece3ceecbd74d46a1af6fe473813bc.zip gcc-b679c81340ece3ceecbd74d46a1af6fe473813bc.tar.gz gcc-b679c81340ece3ceecbd74d46a1af6fe473813bc.tar.bz2 |
Ask dispatch whether it requires serial mode.
* retry.cc (gtm_thread::decide_begin_dispatch): Ask dispatch whether
it requires serial mode instead of assuming that for certain
dispatchs.
* dispatch.h (abi_dispatch::requires_serial): New.
(abi_dispatch::abi_dispatch): Adapt.
* method-gl.cc (gl_wt_dispatch::gl_wt_dispatch): Adapt.
* method-ml.cc (ml_wt_dispatch::ml_wt_dispatch): Same.
* method-serial.cc (serialirr_dispatch::serialirr_dispatch,
serial_dispatch::serial_dispatch,
serialirr_onwrite_dispatch::serialirr_onwrite_dispatch): Same.
From-SVN: r192777
Diffstat (limited to 'libitm/method-ml.cc')
-rw-r--r-- | libitm/method-ml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/method-ml.cc b/libitm/method-ml.cc index 88455e8..80278f5 100644 --- a/libitm/method-ml.cc +++ b/libitm/method-ml.cc @@ -590,7 +590,7 @@ public: CREATE_DISPATCH_METHODS(virtual, ) CREATE_DISPATCH_METHODS_MEM() - ml_wt_dispatch() : abi_dispatch(false, true, false, false, &o_ml_mg) + ml_wt_dispatch() : abi_dispatch(false, true, false, false, 0, &o_ml_mg) { } }; |