[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Pausing a lua script from the C/C++ code.
- From: Brandon <winterknight@...>
- Date: Tue, 8 Jul 2008 08:25:42 -0700
Thanks for the help, Raymond. I've looked into co-routines and
lua_newthread, and they don't look like what I want. I think I might be
on the wrong track with lua_yield and lua_resume.
I'm looking at the lua source code now. I think it should be possible
to do what I want, even if I have to manually modify the lua_State *.
I'll write back here if I figure it out.
If anybody is reading this and knows what to do, please don't hesitate