Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- check the event queue if there's any new events
- if there is, dispatch those events to appropriate handlers
- when you're done, yield control back to the operating system (usually with some kind of special "sleep" or "select" or "yield" function call)
- then the yield function will return when the operating system is done, and you have another go around the loop.
Add Comment
Please, Sign In to add comment