Improve queueLock and lastCmdLock
Reduce the size of the queueLock and lastCmdLock critical sections to improve lock contention performance. The smaller the critical sections are the better. lasCmdLock is still needed to guarantee that getLastEnqueueCommand_ can retain the command before it is swapped out and released. Change-Id: Id35d4a77c035b2da0de4c15568b153d49e958bb7
这个提交包含在:
@@ -234,9 +234,6 @@ class HostQueue : public CommandQueue {
|
||||
|
||||
//! Get last enqueued command
|
||||
Command* getLastQueuedCommand(bool retain);
|
||||
|
||||
//! Set last enqueued command
|
||||
void setLastQueuedCommand(Command* lastCommand) {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户