mirror of
https://github.com/servo/servo.git
synced 2025-07-14 19:03:40 +01:00
prefs: Make the preferences be guarded by a RwLock instead of a Mutex <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because internals. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> This should reduce unnecessary locks that happen when we read preferences. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12275) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
basedir.rs | ||
cache.rs | ||
Cargo.toml | ||
geometry.rs | ||
ipc.rs | ||
lib.rs | ||
opts.rs | ||
panicking.rs | ||
prefs.rs | ||
resource_files.rs | ||
thread.rs | ||
thread_state.rs |