[trans-mem] Release transaction objects on thread termination

Richard Henderson rth@redhat.com
Thu Aug 4 15:59:00 GMT 2011


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 be statically allocated with TLS.
No need for any of the other gyrations.


r~



More information about the Gcc-patches mailing list