Crate intel_tsx_rtm [−] [src]
This crates provides a simple set of wrappers around Intel's TSX RTM instructions and associated intrinsics.
It uses code to provide runtime detection of CPUs without TSX and fallback to non-hardware paths.
It is best to start with
It will only compile with nightly (as of February 8th, 2018) because it uses the
Very low-level intrinsics closely matching those defined in gcc, clang and Andi Kleen's tsx-tools.
A simple wrapper to avoid constantly having to check for support of hardware memory transactions.
This structure wraps the results of an execution of a transaction.