[plt-scheme] Jewel and OSX

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Oct 27 17:57:12 EDT 2006

At Fri, 27 Oct 2006 11:54:43 -0400, "David Einstein" wrote:
> My conjecture is that this was caused by the fact that the 'declife'
> function does not turn off the timer when the game is over, and so if you
> are in an 'UNSWAPPING' state you can enter the high score routine multiple
> times, and one of the functions called by the high score routines is not
> thread safe.  Keeping 'declife' from calling the high score routine more
> than once seems to have cured the problems, but one can never be sure.  Does
> this fix make sense?

I implemented your suggestion by having `declife' do nothing if
gamestate is already 'GAME-OVER, and that looks like the right fix to


Posted on the users mailing list.