Next: , Previous: , Up: iklib   [Index]


6.11 Running coroutines

Vicare implements coroutines on top of Scheme continuations. The implementation is a simple queue of escape procedures: whenever coroutine yields control to the “next” coroutine, it enqueues an escape function to its current continuation and causes the next escape procedure to be invoked.

For discussions about other implementations of coroutines and continuations see (vicare-scheme)references.