[][src]Function swym_htm::begin

pub unsafe fn begin() -> BeginCode

Attempts to begin a hardware transaction.

Control is returned to the point where begin was called on a failed transaction, only the BeginCode now contains the reason for the failure.

Safety

It is unsafe to always retry the transaction after a failure. It is also unsafe to never subsequently call end.