.@ Tony Finch – blog


Following my previous entry I have put up a git repository containing a few little coroutine implementations. They are all pure ANSI/ISO C 89 and don’t depend on magic stack pointer arithmetic, but instead maintain a special coroutine at the top of the stack which is responsible for allocating space for new coroutines.