]> gcc.gnu.org Git - gcc.git/commit
Ask dispatch whether it requires serial mode.
authorTorvald Riegel <triegel@redhat.com>
Wed, 24 Oct 2012 19:52:02 +0000 (19:52 +0000)
committerTorvald Riegel <torvald@gcc.gnu.org>
Wed, 24 Oct 2012 19:52:02 +0000 (19:52 +0000)
commitb679c81340ece3ceecbd74d46a1af6fe473813bc
treeeb6dab1987f0c9c1f49fce76ba1dd1d8267e3277
parent1a6c552d12026ee85c819dfe6f2c83bc59aaa28f
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
libitm/ChangeLog
libitm/dispatch.h
libitm/method-gl.cc
libitm/method-ml.cc
libitm/method-serial.cc
libitm/retry.cc
This page took 0.063919 seconds and 5 git commands to generate.