2 ms·
I did coroutines under Turbo Pascal wayyyyy back in the 1980s[1]. It's really just a matter of copying the stack and some book-keeping. Free Pascal has threads
by mikewarot 4y ago
I did coroutines under Turbo Pascal wayyyyy back in the 1980s[1]. It's really just a matter of copying the stack and some book-keeping.
Free Pascal has threads.
[1] https://www.pcorner.com/list/PASCAL/TASKER4.ZIP/TASKER.PAS/ https://www.pcorner.com/list/PASCAL/TASKER4.ZIP/TASKER.PAS/