This transaction succeeds as soon as an interrupt event occurs.
Executing the transaction shall reset an interrupt flag maintained
by a supervising background thread.
It is mandatory to regularly check this transaction in order to signal
responsiveness to the background thread. The supervisor is otherwise
advised to terminate the program as soon as a second interrupt arrives.
Note: This is a very low-level operation. Operations like waitEvent
,
waitEventOrElse
or waitInterruptOrElse
are more convenient and do
this automatically.