« Return to Thread: CPU usage

Re: CPU usage

by Solra Bizna :: Rate this Message:

Reply to Author | View in Thread

On Feb 8, 2008 10:55 AM, Alvin <alvinbeach@...> 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
_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

 « Return to Thread: CPU usage