[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Yielding
- From: "Thiago Bastos" <hellraider@...>
- Date: Tue, 24 Dec 2002 17:01:16 -0200
Please let me correct a misstatement from my last message:
>I tried to move my call to lua_yield() from the hook-object to my
>"dispatch" function, and then everything worked.
Actually it didn't work! I was awake for too long and put my call to lua_yield() after a "return" statement so it wasn't being called. *blush*
I moved my call to lua_yield() to the beginning of the hook function; now it's called, but I get the infamous "attempt to yield across metamethod/C-call boundary" error anyway.
Merry christmas/feliz natal,