CoRoutines

Coroutines kind of cheap "tasks" using cooperative multitasking.

They can be implemented with C macros in a very portable way.

They are good, if you don't need preemptive multitasking and have very little available RAM, as all of them share a single stack.

More info:

  1. http://www.freertos.org/taskandcr.html

  2. http://www.freertos.org/croutine.html

back to AVR-GCC

KielTech: CoRoutines (last edited 2008-06-07 15:13:50 by localhost)