示例#1
0
void mgr_on_end() {
    read_set_free( &p_trans.read_set );
    write_set_free( &p_trans.write_set );

#ifdef TM_STATS
    stats_print( stdout, stats_get_total(stdout) );
    fflush(stdout);
#endif
}
示例#2
0
void
tm2c_tx_meta_free(tm2c_tx_t **tm2c_tx) 
{
#if !defined(PGAS)
  write_set_free((*tm2c_tx)->write_set);
#endif
  mem_info_free((*tm2c_tx)->mem_info);
  free((*tm2c_tx));
  *tm2c_tx = NULL;
}