| 208 | } |
| 209 | |
| 210 | void SyncValidator::ApplyAcquireWait(const AcquiredImage& acquired) { |
| 211 | for (const auto& batch : GetAllQueueBatchContexts()) { |
| 212 | batch->ApplyAcquireWait(acquired); |
| 213 | batch->Trim(); |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | std::vector<BatchContextPtr> SyncValidator::GetAllQueueBatchContexts() { |
| 218 | // Get last batch from each queue |