[fpc-pascal] Coroutines and VirtualAlloc

Ryan Joseph ryan at thealchemistguild.com
Sat Apr 15 11:20:18 CEST 2017

I was curious about possible ways coroutines could work in FPC and found this example that claims to implement just that. It appears to be designed for Windows though and makes use of a function called VirtualAlloc which I don’t understand. Is there a non platform specific version of this function? I’d like to test the code but I have no idea what that function does or how to replace it.


	Ryan Joseph

More information about the fpc-pascal mailing list