The documentation says that "__tm_abort" must be lexically bound to a transaction. My understanding is that you cannot call __tm_abort inside a tm_callable transaction called through a transaction. Is that right?
__attribute__ ((tm_callable)) void abort_me() {
__tm_abort; /* ILLEGAL */
}
foo() {
__tm_atomic {
abort_me();
}
}
__tm_abort clarification
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.


