diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-06 17:54:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-06 17:54:13 -0700 |
commit | 5dae3cc01b2ae3049deb2af220740b19436ded1b (patch) | |
tree | 1259ddb0e9fc559ebbe08a0a5efbf671a7154d16 /components/script/dom/bindings/codegen/parser/tests/test_arraybuffer.py | |
parent | 921f605c0528b087db627f02c94fb71849a40b1c (diff) | |
parent | 2e8f2302cdb4a25e21631f7f601f3c611643181e (diff) | |
download | servo-5dae3cc01b2ae3049deb2af220740b19436ded1b.tar.gz servo-5dae3cc01b2ae3049deb2af220740b19436ded1b.zip |
Auto merge of #12275 - emilio:prefs-rwlock, r=jdm
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 -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_arraybuffer.py')
0 files changed, 0 insertions, 0 deletions