Skip to content

Events: Expose WaitEvent and WaitEventTimeout#136

Open
nickelpro wants to merge 1 commit intoalbin-johansson:devfrom
nickelpro:ev-patch
Open

Events: Expose WaitEvent and WaitEventTimeout#136
nickelpro wants to merge 1 commit intoalbin-johansson:devfrom
nickelpro:ev-patch

Conversation

@nickelpro
Copy link
Copy Markdown

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.

1 participant