mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Reduced a scope of the lock for AUB file stream
Related-To: NEO-2747 Change-Id: Ic164900f5898df35af74ccff9c31f8296dcf12fd
This commit is contained in:
committed by
sys_ocldev
parent
c34a9d737e
commit
972a79aaae
@@ -277,8 +277,8 @@ bool AubFileStream::addComment(const char *message) {
|
||||
return true;
|
||||
}
|
||||
|
||||
std::unique_lock<std::recursive_mutex> AubFileStream::lockStream() {
|
||||
return std::unique_lock<std::recursive_mutex>(mutex);
|
||||
std::unique_lock<std::mutex> AubFileStream::lockStream() {
|
||||
return std::unique_lock<std::mutex>(mutex);
|
||||
}
|
||||
|
||||
} // namespace AubMemDump
|
||||
|
||||
Reference in New Issue
Block a user