Chromium Code Reviews
DescriptionHRTFDatabaseLoader needs to acquire a lock when accessing m_hrtfDatabase
Currently HRTFDatabaseLoader::m_threadLock is acquired when accessing
m_databaseLoaderThread, but the lock is not needed because m_databaseLoaderThread
is not accessed by multiple threads.
What we need to protect is not m_databaseLoaderThread but m_hrtfDatabase,
which is accessed by multiple threads. This CL makes the fix.
BUG=415305
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184166
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 14 (6 generated)
|
||||||||||||||||||||||||||||