Crate swym_htm

Crate swym_htm 

Source
Expand description

Hardware transactional memory primitives

Modules§

back
Raw x86_64 hardware transactional memory primitives.

Structs§

BeginCode
The result of calling begin.
HardwareTx
A hardware memory transaction.
HtmUsize
An atomic and hardware transactional usize.
TestCode
The result of calling test.

Functions§

abort
Aborts an in progress hardware transaction.
begin
Attempts to begin a hardware transaction.
end
Ends and commits an in progress hardware transaction.
htm_supported
Returns true if the platform may support hardware transactional memory.
htm_supported_runtime
Returns true if the platform definitely supports hardware transactional memory.
test
Tests the current transactional state of the thread.