Esempio n. 1
0
w_rc_t rvp_t::run()
{
    w_rc_t e = _run();
    notify_partitions();
    giveback();
    return (e);
}
Esempio n. 2
0
Index::Iterator
Index::begin()
{
    index_type::iterator b =  d_->index_.begin();
    Index::Iterator giveback( b );
    return giveback ;
}
Esempio n. 3
0
Index::Iterator
Index::end()
{
    index_type::iterator e =  d_->index_.end();
    Index::Iterator giveback( e );
    return giveback ;
}
Esempio n. 4
0
Index::bounds_type
Index::bounds( Index::key_type key )
{
    pair< index_type::iterator, index_type::iterator > p = d_->index_.equal_range( key );
    bounds_type giveback ( p.first, p.second);
    return giveback ;
}
Esempio n. 5
0
void terminal_rvp_t::notify_on_abort()
{
    // If DFlusher is enabled
    // Do the notification of the committed actions and 
    // release the local locks here.

    // After we aborted the xct we need to notify the client and the partitions.
    // The notification of the commmitted xcts will be done by the DNotifier thread.

    notify_partitions();
    notify_client();

    TRACE( TRACE_TRX_FLOW, "Giving back aborted (%d)\n", _tid.get_lo());

    giveback();
}