diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-29 12:49:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-29 12:49:08 -0500 |
commit | fdb1e511bde3fa9e3b3c524a07687dc52131fa0b (patch) | |
tree | 6ebb6e608ee2935a1a4120fa35958014dd6a04c2 /components/script/dom/bindings/codegen | |
parent | b5fe7db8b451f86777fb5c8d1f086319be8170c2 (diff) | |
parent | e3030d053a289d549462c49421f5554bd7685b78 (diff) | |
download | servo-fdb1e511bde3fa9e3b3c524a07687dc52131fa0b.tar.gz servo-fdb1e511bde3fa9e3b3c524a07687dc52131fa0b.zip |
Auto merge of #12637 - asajeffrey:constellation-use-reentrant-logging-mutex, r=emilio
Replaced mutex in constellation logging by a reentrant mutex.
<!-- Please describe your changes on the following line: -->
The double-panic in #12553 may be caused by using a non-reentrant lock, which panics on reetry. This PR adds a reentrant lock type (slightly annoyingly, the implementation in std isn't exported) and uses it for logging. cc @jdm
---
<!-- 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
- [X] These changes fix #12619.
- [X] These changes do not require tests because they are designed to remove a class of intermittents.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12637)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions