dxvk
dxvk copied to clipboard
[dxvk] Rework SetEventOnCompletion
DXVK equivalent to: https://github.com/HansKristian-Work/vkd3d-proton/pull/1284
- Create the waiter thread on demand
- Wait for the lowest requested value to avoid waking the thread up every 10ms when no events are queued.
- Wait on caller thread when hEvent = null