gecko-dev/media/libcubeb/cubeb-coreaudio-rs
Chun-Min Chang 05ca07cf2a Bug 1530715 - P39: Move listeners (un)registrations into a strcut within a mutex. r=padenot
The listeners will be registered and unregistered on the different threads,
so the listeners should be used in the critical sections. We do create
critical sections by our own mutex. However, this custom mutex will be
gradually replaced by the standard Rust mutex in the following patches.

To replace the custom mutex, we put the listeners to the struct wrapped
by a Rust mutex and register or unregister the listeners in the critical
section created by this struct. At the end when the custom mutex is
removed, those operations are still in the critical sections.

Differential Revision: https://phabricator.services.mozilla.com/D34072

--HG--
extra : moz-landing-system : lando
2019-07-10 08:07:02 +00:00
..
coreaudio-sys-utils Bug 1530715 - P2: Import oxidized cubeb_audiounit.cpp. r=padenot 2019-07-17 04:48:25 +00:00
src Bug 1530715 - P39: Move listeners (un)registrations into a strcut within a mutex. r=padenot 2019-07-10 08:07:02 +00:00
Cargo.toml Bug 1530715 - P2: Import oxidized cubeb_audiounit.cpp. r=padenot 2019-07-17 04:48:25 +00:00
LICENSE Bug 1530715 - P2: Import oxidized cubeb_audiounit.cpp. r=padenot 2019-07-17 04:48:25 +00:00
README_MOZILLA Bug 1530715 - P39: Move listeners (un)registrations into a strcut within a mutex. r=padenot 2019-07-10 08:07:02 +00:00
remove-tests.patch Bug 1530715 - P2: Import oxidized cubeb_audiounit.cpp. r=padenot 2019-07-17 04:48:25 +00:00
update.sh Bug 1530715 - P1: Create an empty cubeb-coreaudio-rs crate in libcubeb. r=kinetik 2019-07-10 08:05:53 +00:00