lua-users home
lua-l archive

Re: dawn of the dead: dead coroutine as a key in a __mode="v" table

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Mike Pall wrote:
Dead coroutines hold onto their stack because this is the only
way to get a backtrace if coroutine.resume() returns an error.
And so "C" code can extract Lua variables from the coroutine.
db

AltStyle によって変換されたページ (->オリジナル) /