algotrading, interrupts, transactions, rollbacks

looking at custom priority queue agent for contraining,
add before poll before peek, this is important to ensure concurrent
queue operations are appropriately synchronized for the action interrupt
mechanism.