/* * Called by the CURRENT thread to load a word-sized value. */ _CALLCONV ALIGNED stm_word_t stm_load(volatile stm_word_t *addr) { TX_GET; // printf(" load addr = %lu\n" , addr) ; return int_stm_load(tx, addr); }
_CALLCONV stm_word_t stm_load_tx(stm_tx_t *tx, volatile stm_word_t *addr) { return int_stm_load(tx, addr); }
/* * Called by the CURRENT thread to load a word-sized value. */ _CALLCONV ALIGNED stm_word_t stm_load(volatile stm_word_t *addr) { TX_GET; return int_stm_load(tx, addr); }