9596979899100101102103104105
// TODO make sure synchronizations go off // require registration of synchronization interposed resource as well! if (stx != null) return stx.doPrepare(); else return TwoPhaseOutcome.INVALID_TRANSACTION; } /**
979899100101102103104105106107
200201202203204205206207208209210
*/ int s = theTransaction.status(); if ((s == ActionStatus.RUNNING) || (s == ActionStatus.ABORT_ONLY)) result = theTransaction.doPrepare(); else { switch (s) { case ActionStatus.COMMITTING:
100101102103104105106107108109110
214215216217218219220221222223224