Reduced a scope of the lock for AUB file stream

Related-To: NEO-2747

Change-Id: Ic164900f5898df35af74ccff9c31f8296dcf12fd
This commit is contained in:
Milczarek, Slawomir
2019-05-10 17:29:06 +02:00
committed by sys_ocldev
parent c34a9d737e
commit 972a79aaae
5 changed files with 48 additions and 12 deletions

View File

@@ -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