Re: Re: Help with callbacks

"Chris Double" <[email protected]> Wed, 11 Jun 2003 13:42:57 +1200
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Looking at the docs for SDL_AddTimer it states:

"The timer callback function may run in a different thread than your main
program, and so shouldn't call any functions from within itself. You may
always call SDL_PushEvent, however."

Perhaps calling into 'format' is causing the crash. What happens if you
remove the 'format' call and instead just return the next interval. Does
it still crash? What about calling SDL_PushEvent?

Chris.
-- 
  Chris Double
  [email protected]

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/