mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
05ca07cf2a
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 |
||
---|---|---|
.. | ||
coreaudio-sys-utils | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README_MOZILLA | ||
remove-tests.patch | ||
update.sh |