>>>> "Stephen" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
Stephen> Coroutines aren't threads
Threads are not harder conceptually. It's just that you need more
stuff around them like synchronization mechanisms, communication
channels etc. etc.
Of course, for thread preemption, you need some support from the
underlying implementation, i.e. a timer mechanism and non-blocking
I/O. From the viewpoint of Scheme, only the timer mechanism is
visible. Everything else can, however, be fully implemented in
vanilla Scheme.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla