Guest User

Untitled

a guest
May 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. check the event queue if there's any new events
  2. if there is, dispatch those events to appropriate handlers
  3. when you're done, yield control back to the operating system (usually with some kind of special "sleep" or "select" or "yield" function call)
  4. 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