Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Make the Library Async #60

Open
2 tasks
iamrecursion opened this issue Aug 28, 2023 · 0 comments
Open
2 tasks

[TASK] Make the Library Async #60

iamrecursion opened this issue Aug 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@iamrecursion
Copy link
Contributor

Description

While we currently have a basic watchdog mechanism allowing the analysis to be terminated in major loops, the nature of that mechanism is fundamentally limited. With any bug that causes the analysis to get stuck in a non-safe pointed loop, the system has no effect.

To that end, it makes most sense to me to make the library async, and to insert yield points into all loops. This means that it can inherently be timed out externally, as timeouts can be polled at any yield point.

Spec

  • Make the library async
  • Make sure that every loop has at least one point at which it can yield in it.
@iamrecursion iamrecursion added the enhancement New feature or request label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant