[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: pcall() and coroutine limitations?
- From: PA <petite.abeille@...>
- Date: Sat, 12 Mar 2005 03:24:08 +0100
On Mar 12, 2005, at 01:40, Rici Lake wrote:
So Lua doesn't do any of them.
Consequently, you can't yield out of a recursively called instance of
the Lua VM.
Ok... not sure if a fully grasp all the implication of this, but thanks
for the explanation :)
But still... how does one use pcall() with coroutines then?
If one cannot use pcall() in a coroutine, this drastic reduce the
benefit of having coroutine and pcall() in the first place. Under that
scenario, Lua seems to amount to rather less than the sum of its parts
Right now, I'm blindly monkeying what "coxpcall" does , even though
I'm not quite understanding what it does in the first place and why :(
PA, Onnay Equitursay