| 173 | } |
| 174 | |
| 175 | std::vector<ConsensusErrorBadOutputOrSignature> RingCheckerMulticore::move_batch_errors() { |
| 176 | while (true) { |
| 177 | std::unique_lock<std::mutex> lock(mu); |
| 178 | if (ready_counter != total_counter) { |
| 179 | result_ready.wait(lock); |
| 180 | continue; |
| 181 | } |
| 182 | return std::move(errors); |
| 183 | } |
| 184 | } |