[fpc-pascal] Coroutines and VirtualAlloc

Ryan Joseph ryan at thealchemistguild.com
Wed Apr 19 12:05:03 CEST 2017


> On Apr 19, 2017, at 4:57 PM, Mark Morgan Lloyd <markMLl.fpc-pascal at telemetry.co.uk> wrote:
> 
> SetJmp records the current state, LongJmp reverts to it. There's some common-sense limitations.
> 
> I've got an example program of about 100 lines that would demonstrate what I've hacked together, I could tack it onto a message if the ML managers consider that acceptable.

yes, I’d like to see that so I know why my example doesn’t work as I expected. Everything I’m hearing makes me think “i” should keep incrementing after I call SetJmp and then return with JongJmp but there’s something I’m missing obviously. 

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list