| 100 | } |
| 101 | } |
| 102 | bool NeedResult() { |
| 103 | if (AtomicGet(CurrentState) != 0) |
| 104 | return false; |
| 105 | if (CancelCheck.Get()) { |
| 106 | if (!CancelCheck->MRIsCmdNeeded()) { |
| 107 | Cancel(); |
| 108 | return true; |
| 109 | } |
| 110 | } |
| 111 | return true; |
| 112 | } |
| 113 | void LocalExec(int id) override { |
| 114 | if (!NeedResult()) |
| 115 | return; |
nothing calls this directly
no test coverage detected