title: SDL_Addtimer works inconsistent or not at all
body: <p>I recently started working with SDL and I encountered a problem</p>
  
  <p>each time  I do SDL_Addtimer it works very inconsistent or not at all</p>
  
  <p>so far the only time I got it to work is if I put it in an infinity loop and hope it doesn't crash.</p>
  
  <pre><code>enter codUint32 callback( Uint32 interval, void *p){
  printf("something");
  return 0;}
  
  
  
  int main (){
  bool quit= false;
  SDL_TimerID timer;
  timer = SDL_AddTimer (6000 , callback , NULL);
  while(!quit){
      //to keep the programm running
  }
  return 0;
  </code></pre>
  
  <p>}</p>