Re-entering a C function from lua_yield()

Started by
-1 comments, last by PRO_Muffy 13 years, 4 months ago
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?

This topic is closed to new replies.

Advertisement