Allow DeterministicExecutor to park until forbid_parking is called

This allows us to perform async setup such as talking to the database.
This commit is contained in:
Nathan Sobo
2021-07-20 12:22:02 -06:00
parent f6263768b3
commit 64927abbc4
4 changed files with 89 additions and 40 deletions
Generated
+2 -1
View File
@@ -2159,13 +2159,13 @@ dependencies = [
"etagere",
"font-kit",
"foreign-types",
"futures",
"gpui_macros",
"log",
"metal",
"num_cpus",
"objc",
"ordered-float",
"parking",
"parking_lot",
"pathfinder_color",
"pathfinder_geometry",
@@ -2183,6 +2183,7 @@ dependencies = [
"tiny-skia",
"tree-sitter",
"usvg",
"waker-fn",
]
[[package]]