| 520 | } |
| 521 | |
| 522 | void QueueBatchContext::ResolveLastBatch(const BatchContextPtr& last_batch) { |
| 523 | // Copy in the event state from the previous batch (on this queue) |
| 524 | events_context_.DeepCopy(last_batch->events_context_); |
| 525 | |
| 526 | // If there are no semaphores to the previous batch, make sure a "submit order" non-barriered import is done |
| 527 | access_context_.ResolveFromContext(last_batch->access_context_); |
| 528 | ImportTags(*last_batch); |
| 529 | |
| 530 | last_synchronized_present.Merge(last_batch->last_synchronized_present); |
| 531 | } |
| 532 | |
| 533 | void QueueBatchContext::ImportTags(const QueueBatchContext& from) { |
| 534 | batch_log_.Import(from.batch_log_); |
no test coverage detected