commit | 2ac4db2fa530e198f4e25dcda47b8cdccfcd89a4 | [log] [tgz] |
---|---|---|
author | Imranur Rahman <ir.shimul@gmail.com> | Tue Jun 25 19:28:03 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 25 19:28:03 2019 |
tree | 02721392ecd54afba958743a969467a8daa3f656 | |
parent | cd8a32fc1401f68e842dbdfc7bacf59f41eeaabb [diff] |
Potential data race prevention in AUHALStream::volume_ |volume_| can be set on the control thread and read on the rendering thread at the same time. Declaring |volume_| as an atomic variable solves the problem. Bug: 923844 Change-Id: I48ee9a8dfa7b7b77baa93619a08d3a0a9b989939 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663835 Reviewed-by: Henrik Grunell <grunell@chromium.org> Reviewed-by: Olga Sharonova <olka@chromium.org> Commit-Queue: Olga Sharonova <olka@chromium.org> Cr-Commit-Position: refs/heads/master@{#672195}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .