Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Allow for recursive queries #152

Open
Xanewok opened this issue Oct 2, 2018 · 0 comments
Open

Allow for recursive queries #152

Xanewok opened this issue Oct 2, 2018 · 0 comments

Comments

@Xanewok
Copy link
Collaborator

Xanewok commented Oct 2, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant