Added a debug system to catch some deadlock.

This commit is contained in:
Revertron
2023-12-03 02:11:40 +01:00
parent 709125752f
commit b74b0e00a0
3 changed files with 114 additions and 29 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ rand = { package = "rand", version = "0.8.5" }
rand-old = { package = "rand", version = "0.7.0" } # For ed25519-dalek
sqlite = "0.30.4"
uuid = { version = "1.3.0", features = ["serde", "v4"] }
mio = { version = "0.8.5", features = ["os-poll", "net"] }
mio = { version = "0.8.9", features = ["os-poll", "net"] }
ureq = { version = "2.5", optional = true }
lru = "0.9.0"
derive_more = "0.99.17"
@@ -53,10 +53,10 @@ open = { version = "3.0.3", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["impl-default", "wincon", "shellscalingapi"] }
windows-service = "0.6.0"
thread-priority = "0.10.0"
thread-priority = "0.13.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
thread-priority = "0.10.0"
thread-priority = "0.13.1"
[build-dependencies]
winres = "0.1.12"