[racket] OS X and correct handling of events

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sun Dec 9 16:51:04 EST 2012

2012/12/9 Matthew Flatt <mflatt at cs.utah.edu>:
> The `with-autorelease' form evaluates its body in atomic mode, while
> the central event-management loop is in a different thread. You'll need
> to end `with-autorelease' before the `sleep/yield', and use a second
> `with-autorelease' for the final remove.

Works like a charm.

Thanks,
Jens Axel

Posted on the users mailing list.