mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +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
@@ -139,11 +139,11 @@ struct AubFileStream : public AubStream {
|
||||
MOCKABLE_VIRTUAL void expectMemory(uint64_t physAddress, const void *memory, size_t size,
|
||||
uint32_t addressSpace, uint32_t compareOperation);
|
||||
MOCKABLE_VIRTUAL bool addComment(const char *message);
|
||||
MOCKABLE_VIRTUAL std::unique_lock<std::recursive_mutex> lockStream();
|
||||
MOCKABLE_VIRTUAL std::unique_lock<std::mutex> lockStream();
|
||||
|
||||
std::ofstream fileHandle;
|
||||
std::string fileName;
|
||||
std::recursive_mutex mutex;
|
||||
std::mutex mutex;
|
||||
};
|
||||
|
||||
template <int addressingBits>
|
||||
|
||||
Reference in New Issue
Block a user