[fpc-pascal] Portable coroutines

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Mar 20 23:09:51 CET 2015

Efficient implementation of coroutines requires CPU-specific code in the 
RTL and possibly the compiler. However 
http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a 
way that coroutines can be implemented in a portable fashion in C, how 
can this be done in Object Pascal?

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list