DescriptionAccess current frame counter carefully and remove m_cachedSampleFrame.
m_cachedSampleFrame was added in https://codereview.chromium.org/773273002 to
handle a race condition on accessing the the current frame counter that is being
updated in the audio thread. Use acquireLoad and releaseStore so no race can
happen while it is being updated.
BUG=488211
TEST=Ran the TSAN test case from issue 431874 without problems.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195816
Patch Set 1 #Patch Set 2 : #
Total comments: 5
Patch Set 3 : Use acquireLoad/releaseStore #Patch Set 4 : Remove workaround in scriptprocessornode test #
Messages
Total messages: 14 (4 generated)
|