core::arch::x86

Function _xtest

Source
pub unsafe fn _xtest() -> u8
🔬This is a nightly-only experimental API. (stdarch_x86_rtm #111138)
Available on (x86 or x86-64) and target feature rtm and x86 only.
Expand description

Queries whether the processor is executing in a transactional region identified by restricted transactional memory (RTM) or hardware lock elision (HLE).

Intel’s documentation