Skip to content

Conversation

@pierreluctg
Copy link
Collaborator

@pierreluctgpierreluctg commented Sep 27, 2023

When using USE_WINDOWS_EVENTS the waitable timer will be fired at fixed rate, we do not need to account for the drift.
The change makes it wait for the timer to be in signaled state only.
Previous code was causing multiple frames to be send back to back without delay.

@pierreluctgpierreluctg marked this pull request as ready for review September 27, 2023 23:48
@pierreluctgpierreluctg changed the title We do not need to account for drift when USE_WINDOWS_EVENTSWe do not need to account for drift when we USE_WINDOWS_EVENTSSep 28, 2023
@pierreluctg
Copy link
CollaboratorAuthor

@zariiii9003 please review

@pierreluctgpierreluctg merged commit 3c3f123 into developOct 2, 2023
@pierreluctgpierreluctg deleted the USE_WINDOWS_EVENTS branch October 2, 2023 22:22
@pierreluctgpierreluctg added this to the Next Release milestone Oct 2, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pierreluctg@zariiii9003