servo/components/constellation
bors-servo fdb1e511bd 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 -->
2016-07-29 12:49:08 -05:00
..
Cargo.toml Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
constellation.rs Auto merge of #12637 - asajeffrey:constellation-use-reentrant-logging-mutex, r=emilio 2016-07-29 12:49:08 -05:00
lib.rs Remove clipboard crate to due disallowed usage of GPL code 2016-07-20 11:44:55 -05:00
pipeline.rs Extracted common parts of the starting content process 2016-07-28 15:27:43 -04:00
sandboxing.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
timer_scheduler.rs Replace the one-thread-per-timeout model by a two-thread model of timeouts. 2016-05-20 13:59:12 -05:00