sto-core/Transaction.hh
// transaction is now a read-write transaction
transaction is now a read-write transaction
transaction is now a read - write transaction
tid_type write_tid() const {
        if (!commit_tid_) {
            threadinfo_t& thr = this_thread();
            commit_tid_ = _TID.fetch_add(TransactionTid::increment_value);
            thr.wtid.store(commit_tid_, std::memory_order_release);
        }
        return commit_tid_;
    }
tid_type write_tid ( ) const { if ( ! commit_tid_ ) { threadinfo_t & thr = this_thread ( ) ; commit_tid_ = _TID . fetch_add ( TransactionTid :: increment_value ) ; thr . wtid . store ( commit_tid_ , std :: memory_order_release ) ; } return commit_tid_ ; }
transaction is now a read-write transaction
transaction is now a read - write transaction