-
Notifications
You must be signed in to change notification settings - Fork 45
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
API contract for wgpuInstanceProcessEvents() is unclear #117
Comments
In
|
Same for Dawn (although it's currently
|
I suppose it has to be reentrant, then, huh. |
Reentrant? But yeah during the processing you have to support more callbacks being added to the queue (and first move the queue, then process it, to avoid iterator invalidation) |
I don't think wgpuInstanceProcessEvents() needs to be callable from within a callback running inside wgpuInstanceProcessEvents(). But yes to the stuff Corentin said. |
Its not clear whether it supposed to block or not, and how it integrates with an already-existing runloop.
The text was updated successfully, but these errors were encountered: