Sign in to follow this  
PRO_Muffy

Re-entering a C function from lua_yield()

Recommended Posts

Hi all,

I'm looking for a solution that allows me to re-enter a C function that yielded on the next lua_resume(). I'm currently using Lua 5.1.4.

I did find this patch for Lua 5.1:
http://lua-users.org/wiki/ResumableVmPatch

Which requires me to run this patch:
http://lua-users.org/files/wiki_insecure/users/VeLoSo/lua5.1-rvm.patch

It seems to be aimed at Unix users who are familiar with Patch. I've just spent an hour trying to patch my lua files on Windows 7, but it seems to be failing silently. I'm either using it incorrectly, or it isn't compatible with 64 bit Windows 7. Is there anyone who has had any experience of using Patch that might be able to give me a hand?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this