Re: [trans-mem] Add gl_wt TM method.

2011-10-19 Thread Torvald Riegel
Committed with the changes below. On Wed, 2011-10-19 at 12:17 -0700, Richard Henderson wrote: > > Add support for TM-method-specific begin code. > > > > * libitm_i.h (GTM::gtm_restart_reason): Re-arrange and clean up > > declarations. > > * dispatch.h (

Re: [trans-mem] Add gl_wt TM method.

2011-10-19 Thread Richard Henderson
> Add support for TM-method-specific begin code. > > * libitm_i.h (GTM::gtm_restart_reason): Re-arrange and clean up > declarations. > * dispatch.h (GTM::abi_dispatch::begin_or_restart): New. > * method-serial.cc: Implement begin_or_restart(). > * beginend.cc

Re: [trans-mem] Add gl_wt TM method.

2011-10-13 Thread Torvald Riegel
On Tue, 2011-08-30 at 00:33 +0200, Torvald Riegel wrote: > The attached patches are several changes required for a new TM method, > gl_wt (global lock, write-through), which is added by the last patch > > patch1: Add TM-method-specific begin code. All time-based TMs need to > know at which point i

[trans-mem] Add gl_wt TM method.

2011-08-29 Thread Torvald Riegel
The attached patches are several changes required for a new TM method, gl_wt (global lock, write-through), which is added by the last patch patch1: Add TM-method-specific begin code. All time-based TMs need to know at which point in time they start working. Initializing lazily on the first txnal l