title: SDL_PollEvent vs SDL_WaitEvent
body: <p>So I was reading this article which contains 'Tips and Advice for Multithreaded Programming in SDL' - <a href="https://vilimpoc.org/research/portmonitorg/sdl-tips-and-tricks.html" rel="noreferrer">https://vilimpoc.org/research/portmonitorg/sdl-tips-and-tricks.html</a></p>
  
  <p>It talks about SDL_PollEvent being inefficient as it can cause excessive CPU usage and so recommends using SDL_WaitEvent instead.</p>
  
  <p>It shows an example of both loops but I can't see how this would work with a game loop. Is it the case that SDL_WaitEvent should only be used by things which don't require constant updates ie if you had a game running you would perform game logic each frame.</p>
  
  <p>The only things I can think it could be used for are programs like a paint program where there is only action required on user input.</p>
  
  <p>Am I correct in thinking I should continue to use SDL_PollEvent for generic game programming?</p>