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

co_await support #111

Open
unicomp21 opened this issue Feb 15, 2023 · 0 comments
Open

co_await support #111

unicomp21 opened this issue Feb 15, 2023 · 0 comments

Comments

@unicomp21
Copy link

Given co_await will soon be available in webassembly, would it make sense to add co_await support to xatlas? The intention would be to have xatlas suspend after every x cpu cycles. This would allow yielding to the main javascript thread (event loop) while in the middle of a large xatlas computation/job, and then be resume later via a microtask on the javascript side. Having this level of cooperative yielding would allow xatlas work to be visualized in real-time on the webgl side? Making for a better user experience? When using xatlas.js

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

1 participant