[fpc-pascal] Coroutines and VirtualAlloc
Ryan Joseph
ryan at thealchemistguild.com
Wed Apr 19 12:29:48 CEST 2017
> On Apr 19, 2017, at 5:17 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> It's a variable which the compiler does not put on the stack, it exists just
> in a register.
That kind of defeats the purpose then if you can’t rely on function scoped variables to be restored. Maybe that’s what the code in the original link did? I was going to try it but I never figured out how to replace VirtualAlloc without Windows (I’m on a Mac).
Thanks.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list