Replace remutex with parking_lot's ReentrantMutex (#31817)

Many things in Servo depend on `parking_lot`, so we can replace our
homegrown remutex with `parking_lot`'s version.

Fixes #12641.
This commit is contained in:
Martin Robinson 2024-03-22 09:16:39 +01:00 committed by GitHub
parent 8882507ad0
commit 34dd38b4cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 5 additions and 388 deletions

10
Cargo.lock generated
View file

@ -875,13 +875,13 @@ dependencies = [
"msg",
"net",
"net_traits",
"parking_lot",
"profile_traits",
"script_layout_interface",
"script_traits",
"serde",
"servo_config",
"servo_rand",
"servo_remutex",
"servo_url",
"style_traits",
"webgpu",
@ -5420,14 +5420,6 @@ dependencies = [
"uuid",
]
[[package]]
name = "servo_remutex"
version = "0.0.1"
dependencies = [
"lazy_static",
"log",
]
[[package]]
name = "servo_url"
version = "0.0.1"