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

SDL_DelayNS() will attempt to sleep exactly the requested amount of time #10285

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

slouken
Copy link
Collaborator

@slouken slouken commented Jul 16, 2024

This provides a highly accurate sleep function for your application, although you are still subject to being switched out occasionally.

Fixes #10210

This provides a highly accurate sleep function for your application, although you are still subject to being switched out occasionally.

Fixes libsdl-org#10210
@slouken slouken merged commit 033df70 into libsdl-org:main Jul 16, 2024
39 checks passed
@slouken slouken deleted the precise-delay branch July 16, 2024 01:38
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

Successfully merging this pull request may close these issues.

Request: SDL_AccurateDelay()
1 participant