transactional malloc()/free() in Intel’s STM Prototype v3.0?

Why can’t I see a transactional malloc()/free()? – IntelĀ® Software Network

Intel STM Prototype v3.0 does provide transactional malloc() and free(). Any time malloc and free are used in __tm_atomic region or a function marked with tm_callable attribute they are replaced with a transactional safe malloc and free. For functions which are marked with tm_safe attribute, the compiler assumes user guarantees the safety of that function and does not replace the malloc and free. The user has to use his own transactional safe malloc and free in this case.

Advertisements