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

Remove spin lock in web version #227

Open
mitschabaude opened this issue Jun 6, 2022 · 0 comments
Open

Remove spin lock in web version #227

mitschabaude opened this issue Jun 6, 2022 · 0 comments

Comments

@mitschabaude
Copy link
Contributor

as a follow-up to MinaProtocol/mina#10454, refactor to wait for worker asynchronously

  • change worker_run.js / overrideBindings to return promises instead of doing wait_until_non_zero
  • needs a message-answering mechanism for the worker, so that overrideBindings can detect when to resolve the promise
  • needs to refactor the relevant methods in bindings.js to detect if they got a promise back from plonk_wasm, and if yes, use .then to do subsequent operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants