tsx-tools provides headers and utilities for development with TSX (HLE/RTM) hardware transactional memory development on recent Intel CPUs.
It includes compat headers that provide C inline functions support for RTM and HLE in various formats for older gcc compatible compilers (before gcc 4.8). These headers are useful to enable lock elision in a lock library or existing program.
It also has various TSX related utilities, including a tool that detects the presence of TSX, a TSX aware assert, and various debugging utilities.