LWN.net Logo

Transactional memory for GCC 4.7.0

Transactional memory for GCC 4.7.0

Posted Nov 10, 2011 15:53 UTC (Thu) by tvld (subscriber, #59052)
In reply to: Transactional memory for GCC 4.7.0 by josh
Parent article: Transactional memory for GCC 4.7.0

I don't think so. Having several sets of language-level constructs for transactions does not seem to be useful. If you want to just change to a different implementation of these transactions, you can already do so by using another library instead of libitm.

If you're thinking about interfacing with other transactional systems (so, for other resources besides the application's address space), then you should look at the transaction_wrap function attribute, with which you can declare transactional wrappers for functions (e.g., library functions). However, this isn't yet part of any specification.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds