lua-users home
lua-l archive

Re: coroutine.clone and stateful web applications

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


Hi,
I wrote:
> See the attached experimental patch (relative to 5.1 rc). This
> was a 10 minute hack, so I may not have gotten everything right.
Indeed. Add this before the last lua_unlock(to) in lua_clonethread():
 setobj2n(L, gt(to), gt(from));
Bye,
 Mike

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