servo/tests/unit
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
..
gfx All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
layout All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
net Added devtools support to fetch for XHR + Manish's XHR ident fix 2016-07-29 11:20:38 +01:00
net_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
profile All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
script Add the append method for the Headers API for the Fetch API 2016-07-19 13:40:31 -07:00
style account for sign in double parsing 2016-07-28 18:56:14 +01:00
util Replaced mutex in constellation logging by a reentrant mutex. 2016-07-29 09:44:45 -05:00