SWDEV-476929 - Introduce an activeQueues set
The new set tracks only the queues that have a command submitted to them. This allows for fast iteration in waitActiveStreams. Change-Id: I2c832eefa01280d9a87a5f57874d36d2e9441de7
Этот коммит содержится в:
@@ -267,6 +267,9 @@ class HostQueue : public CommandQueue {
|
||||
// Release the last command in the batch
|
||||
if (lastEnqueueCommand_ != nullptr) {
|
||||
lastEnqueueCommand_->release();
|
||||
} else {
|
||||
// The queue becomes active. Add it to the set of activeQueues.
|
||||
device_.addToActiveQueues(this);
|
||||
}
|
||||
|
||||
// Extra retain for the last command
|
||||
|
||||
Ссылка в новой задаче
Block a user