Exemplo n.º 1
0
/*
 * 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);
}
Exemplo n.º 2
0
_CALLCONV stm_word_t
stm_load_tx(stm_tx_t *tx, volatile stm_word_t *addr)
{
    return int_stm_load(tx, addr);
}
Exemplo n.º 3
0
/*
 * 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);
}