-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
asyncAsynchronous operations and callbacksAsynchronous operations and callbacksnon-breakingDoes not require a breaking change (that would block V1.0)Does not require a breaking change (that would block V1.0)
Description
Originally we did not have any way to interrupt running WaitAny calls, or generally send CPU→CPU events. The reason for this was that vkWaitForFences cannot do it. However, since we have a clean distinction between CPU-timeline and Queue-timeline operations, this is actually very simple to add (it's exactly how async pipeline creation works, already).
One important design pattern needs it, which is having an application thread which uses WaitAny to watch for events and e.g. forward them into an event loop. It needs to be possible to interrupt WaitAny each time a new Future is created, so the new Future can be added to its list. This is only possible with mixed-source waiting, but most systems should have that capability.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
asyncAsynchronous operations and callbacksAsynchronous operations and callbacksnon-breakingDoes not require a breaking change (that would block V1.0)Does not require a breaking change (that would block V1.0)