[SDL] CPU usage
Solra Bizna
sbizna at tejat.net
Fri Feb 8 14:22:12 PST 2008
On Feb 8, 2008 10:55 AM, Alvin <alvinbeach at gmail.com> wrote:
> Have a look at SDL_WaitEvent() and see if it fits into your program. If you
> aren't sure, can you post an example of how you read/poll the events?
IMO, there's a pretty major gap in functionality between WaitEvent and
PollEvent. Carbon's WaitNextEvent has a timeout that you can set
appropriately, what we need is something like that for SDL. (Aside
from Edward's use case, events may not be the only thing the app wants
to block on.)
-:sigma.SB
More information about the SDL
mailing list