Re: [trans-mem] Release transaction objects on thread termination

2011-08-04 Thread Richard Henderson
On 08/03/2011 04:16 AM, Torvald Riegel wrote: > This patch removes the per-thread free-list of gtm_transaction objects. > With a single stable gtm_transaction object per thread, it is not > necessary anymore. If this is true, just move the entire gtm_transaction object into gtm_thread and have it

[trans-mem] Release transaction objects on thread termination

2011-08-03 Thread Torvald Riegel
This patch removes the per-thread free-list of gtm_transaction objects. With a single stable gtm_transaction object per thread, it is not necessary anymore. Furthermore, a destructor function of a pthread TLS key is used to release a thread's gtm_transaction object when this thread terminates. This