• Advertisement
Sign in to follow this  

Re-entering a C function from lua_yield()

This topic is 2640 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement