DescriptionUse atomics when accessing m_didSetLooping
Add setter and getter methods for accessing m_didSetLooping so that we
can access it atomically. The audio thread was reading this while the
main thread could be writing it.
Manually verified the test case from the bug that this fix works. (Need to reload the page a few times to trigger the original bug.)
BUG=676874
TEST=
Committed: https://crrev.com/310673a6eca24e30371c29593b4385fd3983ad1d
Cr-Commit-Position: refs/heads/master@{#441304}
Patch Set 1 #Patch Set 2 : Fix typo. #
Messages
Total messages: 17 (12 generated)
|