Re: [trans-mem] Removed gtm_thread and threadnum. Renamed gtm_transaction to gtm_thread.

2011-08-12 Thread Richard Henderson
On 08/05/2011 04:24 PM, Torvald Riegel wrote: > Note that I did have code ready to have a single statically allocated > __thread gtm_thread object. However, I then saw that unlike discussed > off-list, the compiler does indeed complain about using non-trivial > objects with __thread (which makes se

[trans-mem] Removed gtm_thread and threadnum. Renamed gtm_transaction to gtm_thread.

2011-08-05 Thread Torvald Riegel
Here is one try at cleaning up the gtm_transaction vs. gtm_thread confusion. As suggested off-list, gtm_transaction is renamed to gtm_thread. This makes up the largest part of the patch. _ITM_getThreadnum is not supported anymore. According to the ABI spec, its only purpose was to provide an ID th