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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Expose WaitEvent and WaitEventTimeout #136

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

nickelpro
Copy link

Does what it says on the tin, because sometimes you want a dumb app that doesn't eat 100% of CPU when it doesn't have anything to do.

The SDL_WaitEventTimeout can technically cause an error, but SDL doesn't provide or recommend any reliable way to differentiate that error from a regular timeout so 馃し. Let's just pretend it can't.

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.

None yet

1 participant