Since function references are now implemented in the compiler I wonder if this
could open the door to implementing coroutines. I remember some years I tried
using LongJmp but of course when you jump out of stack frames you would lose
their state. Now that function references exist and the state is persisted
could you long jump in and out of them safely and maintain the current state?
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal