[plt-scheme] Multitasking

From: Peter Ngo (pngo23 at gmail.com)
Date: Mon Mar 23 17:08:18 EDT 2009

I was wondering how you would manage multitasking with Scheme,
adding some bitmap objects in a list with a delay of 2 seconds
and repaint the canvas showing the modifications in real time(?).

I thought about the timer% class which would
do a (send canvas on-paint) as a notify-callback but it didnt seem good to me.

Would it be better with (thread lambda() ....) ( which i don't really
understand ...) ?
Or is there a way to use events/handlers?
I didn't learn anything about events except for changing the canvas%
class in scheme/gui to cope with mouse events...

Posted on the users mailing list.