11 #ifndef STM_ITM2STM_TRANSACTION_H
12 #define STM_ITM2STM_TRANSACTION_H
78 inline Node* inner()
const {
85 return thread_handle_;
94 void rollback(
void** protected_stack_lower_bound);
101 void commit(
void** protected_stack_lower_bound);
109 bool tryCommit(
void** protected_stack_lower_bound);
119 #ifdef FAKE_ITM_BEGIN_TRANSACTION
130 #endif // FAKE_ITM_BEGIN_TRANSACTION
141 uint32_t enter(Node*
const scope,
const uint32_t flags)
146 uint32_t reenter(Node*
const scope);
160 Node* NewNode() asm("_stm_itm2stm_transaction_new_node");
189 void restart(
void** protected_stack_lower_bound) NORETURN
210 #endif // STM_ITM2STM_TRANSACTION_H
static TM_CALLABLE bool_t cancel(TM_ARGDECL MAP_T *tablePtr, MAP_T *customerTablePtr, long customerId, long id, reservation_type_t type)
Definition: manager.c:737
Definition: stm_fraser.c:61
uint32_t _ITM_transactionId_t
Definition: libitm.h:99
Definition: intruder.c:122
struct _ITM_transaction _ITM_transaction
Definition: libitm.h:98
class simple_queue __attribute__
void(* _ITM_userUndoFunction)(void *)
Definition: libitm.h:100
TM_INLINE void commit(TxThread *tx)
Definition: library.hpp:104
void(* _ITM_userCommitFunction)(void *)
Definition: libitm.h:101
Definition: txthread.hpp:47
void restart()
Definition: txthread.cpp:189
_ITM_abortReason
Definition: libitm.h:43