mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
2c4a12e3b6
The core stream data that will be touched on the different threads when the stream is created, reinitialized, destoryed should be used in the critical section. Those core data are initialized in stream-setup and destroyed in stream-close. The stream-setup and stream-close is run in the critical section so they won't be executed at the same time. Currently, the critical section is created by our custom mutex. However, this custom mutex will be removed in the later mutex replacement. Instead of running these two operations in the critical sections created by the custom mutex, they should be moved into a struct wrapped by a standard Rust mutex. As a result, at the end when the custom mutex is removed, these two operations are still in the critical sections that are created by the Rust mutex. Differential Revision: https://phabricator.services.mozilla.com/D34073 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
cubeb-coreaudio-rs | ||
cubeb-pulse-rs | ||
gtest | ||
include | ||
src | ||
AUTHORS | ||
disable-assert.patch | ||
LICENSE | ||
moz.build | ||
moz.yaml | ||
README.md | ||
update.sh |