You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Right now this leads to a silent deadlock because every public query is wrapped in a self.with_analysis(|a| ...) which locks the primary lock for the execution time of the query.
One place where recursive queries are handy is recursive symbol tree processing, e.g. when reconstructing hierarchical symbol outline.
I believe it'd be good to be a bit more explicit about the interior lock and expose it so the user can perform multiple queries in bulk.
The text was updated successfully, but these errors were encountered:
Originally created by @Xanewok (rust-dev-tools/rls-analysis#152):
Right now this leads to a silent deadlock because every public query is wrapped in a
self.with_analysis(|a| ...)
which locks the primary lock for the execution time of the query.One place where recursive queries are handy is recursive symbol tree processing, e.g. when reconstructing hierarchical symbol outline.
I believe it'd be good to be a bit more explicit about the interior lock and expose it so the user can perform multiple queries in bulk.
The text was updated successfully, but these errors were encountered: