| 838 | |
| 839 | |
| 840 | bool TranEntry::terminationRequested() |
| 841 | { |
| 842 | ScopedLock lock(mAnotherLock,__FILE__,__LINE__); |
| 843 | //if (isRemoved()) throw RemovedTransaction(tranID()); |
| 844 | bool retVal = mTerminationRequested; |
| 845 | mTerminationRequested = false; |
| 846 | return retVal; |
| 847 | } |
| 848 | |
| 849 | |
| 850 | // The handover is from BS1 to BS2. |